[Python-checkins] r42413 - python/trunk/Parser/tokenizer.c

martin.v.loewis python-checkins at python.org
Thu Feb 16 15:35:38 CET 2006


Author: martin.v.loewis
Date: Thu Feb 16 15:35:38 2006
New Revision: 42413

Modified:
   python/trunk/Parser/tokenizer.c
Log:
Use Py_ssize_t to count the length.

Modified: python/trunk/Parser/tokenizer.c
==============================================================================
--- python/trunk/Parser/tokenizer.c	(original)
+++ python/trunk/Parser/tokenizer.c	Thu Feb 16 15:35:38 2006
@@ -370,7 +370,7 @@
 	PyObject* utf8 = NULL;
 	PyObject* buf = tok->decoding_buffer;
 	char *str;
-	int utf8len;
+	Py_ssize_t utf8len;
 
 	/* Ask for one less byte so we can terminate it */
 	assert(size > 0);


More information about the Python-checkins mailing list