[Python-checkins] r73119 - python/branches/release26-maint/Objects/frameobject.c

amaury.forgeotdarc python-checkins at python.org
Tue Jun 2 00:17:39 CEST 2009


Author: amaury.forgeotdarc
Date: Tue Jun  2 00:17:39 2009
New Revision: 73119

Log:
#4547 again: fix a typo that causes compilation warnings


Modified:
   python/branches/release26-maint/Objects/frameobject.c

Modified: python/branches/release26-maint/Objects/frameobject.c
==============================================================================
--- python/branches/release26-maint/Objects/frameobject.c	(original)
+++ python/branches/release26-maint/Objects/frameobject.c	Tue Jun  2 00:17:39 2009
@@ -114,8 +114,8 @@
 
 	/* Find the bytecode offset for the start of the given line, or the
 	 * first code-owning line after it. */
-	PyString_AsStringAndSize((char*)f->f_code->co_lnotab,
-	                         &lnotab, &lnotab_len);
+	PyString_AsStringAndSize(f->f_code->co_lnotab,
+	                         &(char*)lnotab, &lnotab_len);
 	addr = 0;
 	line = f->f_code->co_firstlineno;
 	new_lasti = -1;


More information about the Python-checkins mailing list