X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fbase64.c;h=1c3e6aad5a0dadb27354a88ec15e7686e17ad09f;hb=edaa850fd2d2cae7ec31961fae3d56487e710c71;hp=485f81bc9e1ce64b4a4f74a566807f605487a2d4;hpb=195333e38da4b8195579937eb048cc9e55e9393c;p=rocksndiamonds.git diff --git a/src/libgame/base64.c b/src/libgame/base64.c index 485f81bc..1c3e6aad 100644 --- a/src/libgame/base64.c +++ b/src/libgame/base64.c @@ -50,7 +50,7 @@ #include "base64.h" -const static char *b64encode = +static const char *b64encode = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; int base64_encoded_size(int unencoded_size) @@ -103,10 +103,10 @@ void base64_encode(char *encoded_data, *ptr++ = '='; } - *ptr++= '\0'; + *ptr++ = '\0'; } -const static byte b64decode[] = +static const byte b64decode[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16