[Python-checkins] r60275 - python/branches/release25-maint/Parser/tokenizer.c

guido.van.rossum python-checkins at python.org
Fri Jan 25 07:11:54 CET 2008


Author: guido.van.rossum
Date: Fri Jan 25 07:11:53 2008
New Revision: 60275

Modified:
   python/branches/release25-maint/Parser/tokenizer.c
Log:
Silence a compiler warning.


Modified: python/branches/release25-maint/Parser/tokenizer.c
==============================================================================
--- python/branches/release25-maint/Parser/tokenizer.c	(original)
+++ python/branches/release25-maint/Parser/tokenizer.c	Fri Jan 25 07:11:53 2008
@@ -585,7 +585,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