diff --git a/lib/roken/base64.c b/lib/roken/base64.c index cba232e2a..ca5a50e3b 100644 --- a/lib/roken/base64.c +++ b/lib/roken/base64.c @@ -39,13 +39,13 @@ RCSID("$Id$"); #include #include "base64.h" -static char base64_chars[] = +static const char base64_chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; static int pos(char c) { - char *p; + const char *p; for (p = base64_chars; *p; p++) if (*p == c) return p - base64_chars;