From: Guido van Rossum Date: Fri, 25 Jan 2008 06:11:53 +0000 (+0000) Subject: Silence a compiler warning. X-Git-Tag: v2.5.2c1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c4282b41b853cd07b279b198e8002bc4ee323bf;p=python Silence a compiler warning. --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index f065962f28..f5c18e0acc 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -585,7 +585,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;