]> granicus.if.org Git - python/commitdiff
Add a "const" to make gcc happy.
authorGeorg Brandl <georg@python.org>
Mon, 21 Jan 2008 21:14:21 +0000 (21:14 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 21 Jan 2008 21:14:21 +0000 (21:14 +0000)
Parser/tokenizer.c

index bbfbe7d3452c973e79f694814efa446ab43c3aaa..6e74c7b26b59db1b7ca04a2d4095b652eee0afb7 100644 (file)
@@ -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;