[Python-checkins] r60179 - python/trunk/Parser/tokenizer.c
georg.brandl
python-checkins at python.org
Mon Jan 21 22:14:21 CET 2008
Author: georg.brandl
Date: Mon Jan 21 22:14:21 2008
New Revision: 60179
Modified:
python/trunk/Parser/tokenizer.c
Log:
Add a "const" to make gcc happy.
Modified: python/trunk/Parser/tokenizer.c
==============================================================================
--- python/trunk/Parser/tokenizer.c (original)
+++ python/trunk/Parser/tokenizer.c Mon Jan 21 22:14:21 2008
@@ -586,7 +586,7 @@
{
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;
More information about the Python-checkins
mailing list