]> granicus.if.org Git - python/commitdiff
#4547 again: fix a typo that causes compilation warnings
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 1 Jun 2009 22:17:39 +0000 (22:17 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 1 Jun 2009 22:17:39 +0000 (22:17 +0000)
Objects/frameobject.c

index 049133406c632bdc5a934a907864eba5809f6b4c..f8c5764001e60a2b668ca248f851e2ecada53895 100644 (file)
@@ -114,8 +114,8 @@ frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno)
 
        /* 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;