summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-01 22:17:39 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-06-01 22:17:39 (GMT)
commit35b251d648179602e3a5a0e5f4f7ddd9bfe6f656 (patch)
tree014f0d59152dfaa66dc705d71cebb8c09e2d8e45 /Objects
parent99be081fae10147e944619c21bf2f00eeabf86ce (diff)
downloadcpython-35b251d648179602e3a5a0e5f4f7ddd9bfe6f656.zip
cpython-35b251d648179602e3a5a0e5f4f7ddd9bfe6f656.tar.gz
cpython-35b251d648179602e3a5a0e5f4f7ddd9bfe6f656.tar.bz2
#4547 again: fix a typo that causes compilation warnings
Diffstat (limited to 'Objects')
-rw-r--r--Objects/frameobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 0491334..f8c5764 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -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;