From: Holger Schemel Date: Sat, 22 Oct 2022 09:58:48 +0000 (+0200) Subject: removed compiler warning X-Git-Tag: 4.3.3.0~37 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9ebb6ce711c7bbca30789c4368995920b47e45c0;p=rocksndiamonds.git removed compiler warning This issue was found by using GCC with option "-Wextra". --- 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