[Python-checkins] r65767 - python/branches/tlee-ast-optimize/Objects/codeobject.c

thomas.lee python-checkins at python.org
Sun Aug 17 16:11:55 CEST 2008


Author: thomas.lee
Date: Sun Aug 17 16:11:55 2008
New Revision: 65767

Log:
Use Py_ssize_t for iteration variable.

Modified:
   python/branches/tlee-ast-optimize/Objects/codeobject.c

Modified: python/branches/tlee-ast-optimize/Objects/codeobject.c
==============================================================================
--- python/branches/tlee-ast-optimize/Objects/codeobject.c	(original)
+++ python/branches/tlee-ast-optimize/Objects/codeobject.c	Sun Aug 17 16:11:55 2008
@@ -511,7 +511,7 @@
 {
 	PyObject* entry;
 	Py_ssize_t size;
-	int i;
+	Py_ssize_t i;
 	int addr, line;
 
 	size = PyList_GET_SIZE(co->co_lnotab);


More information about the Python-checkins mailing list