From: Georg Brandl Date: Mon, 21 Jan 2008 21:14:21 +0000 (+0000) Subject: Add a "const" to make gcc happy. X-Git-Tag: v2.6a1~470 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1;p=python Add a "const" to make gcc happy. --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index bbfbe7d345..6e74c7b26b 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -586,7 +586,7 @@ decode_str(const char *str, struct tok_state *tok) { PyObject* utf8 = NULL; const char *s; - char *newl[2] = {NULL, NULL}; + const char *newl[2] = {NULL, NULL}; int lineno = 0; tok->enc = NULL; tok->str = str;