]> granicus.if.org Git - python/commitdiff
Silence a compiler warning.
authorGuido van Rossum <guido@python.org>
Fri, 25 Jan 2008 06:11:53 +0000 (06:11 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Jan 2008 06:11:53 +0000 (06:11 +0000)
Parser/tokenizer.c

index f065962f2888301d0d49e50e750382f69173fb09..f5c18e0acc6f6ea6565c77cc592b2556ea91f4b1 100644 (file)
@@ -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;