From 1c4282b41b853cd07b279b198e8002bc4ee323bf Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 25 Jan 2008 06:11:53 +0000 Subject: [PATCH] Silence a compiler warning. --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index f065962f288..f5c18e0acc6 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;