From: Amaury Forgeot d'Arc Date: Mon, 1 Jun 2009 22:17:39 +0000 (+0000) Subject: #4547 again: fix a typo that causes compilation warnings X-Git-Tag: v2.6.3rc1~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35b251d648179602e3a5a0e5f4f7ddd9bfe6f656;p=python #4547 again: fix a typo that causes compilation warnings --- diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 049133406c..f8c5764001 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;