diff options
author | Guido van Rossum <guido@python.org> | 2008-01-25 06:11:53 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2008-01-25 06:11:53 +0000 |
commit | 1c4282b41b853cd07b279b198e8002bc4ee323bf (patch) | |
tree | d608b84c4cae517378e57a52de41971ff04c2ac3 | |
parent | f1a7178cd569383cbce3aba22bd7b1d5950e7c20 (diff) | |
download | cpython-git-1c4282b41b853cd07b279b198e8002bc4ee323bf.tar.gz |
Silence a compiler warning.
-rw-r--r-- | Parser/tokenizer.c | 2 |
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; |