summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2008-01-25 06:11:53 +0000
committerGuido van Rossum <guido@python.org>2008-01-25 06:11:53 +0000
commitf60d88cb0840da30c562620e2ade1e32217e8c2d (patch)
treea4de2189e002b7b1032a6b1bd7890fab94a47383 /Parser
parent1acdec7621701e0ed4c2eedf7c5cecaed9bcad0c (diff)
downloadcpython-f60d88cb0840da30c562620e2ade1e32217e8c2d.tar.gz
Silence a compiler warning.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
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;