X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfc6b93af241cdc6193a19bcd115af8ad1390a73..56be5f1937dcdb66259dae723dd012ddbe8a6300:/sbr/base64.c diff --git a/sbr/base64.c b/sbr/base64.c index 6a30e2f0..e8ddee7a 100644 --- a/sbr/base64.c +++ b/sbr/base64.c @@ -11,7 +11,7 @@ #include #include -static char nib2b64[0x40+1] = +static const char nib2b64[0x40+1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; int @@ -209,7 +209,7 @@ writeBase64raw (const unsigned char *in, size_t length, unsigned char *out) } -static unsigned char b642nib[0x80] = { +static const unsigned char b642nib[0x80] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,