X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fbase64.c;h=c602fa0633da410d118773ab27f77564a6ca4fd4;hb=712dd032cb29eeb0742ac39aa56fe491f1a98a06;hp=485f81bc9e1ce64b4a4f74a566807f605487a2d4;hpb=195333e38da4b8195579937eb048cc9e55e9393c;p=rocksndiamonds.git diff --git a/src/libgame/base64.c b/src/libgame/base64.c index 485f81bc..c602fa06 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) @@ -106,7 +106,7 @@ void base64_encode(char *encoded_data, *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