Commit 35b251d6 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

#4547 again: fix a typo that causes compilation warnings

parent 99be081f
...@@ -114,8 +114,8 @@ frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno) ...@@ -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 /* Find the bytecode offset for the start of the given line, or the
* first code-owning line after it. */ * first code-owning line after it. */
PyString_AsStringAndSize((char*)f->f_code->co_lnotab, PyString_AsStringAndSize(f->f_code->co_lnotab,
&lnotab, &lnotab_len); &(char*)lnotab, &lnotab_len);
addr = 0; addr = 0;
line = f->f_code->co_firstlineno; line = f->f_code->co_firstlineno;
new_lasti = -1; new_lasti = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment