From 35b251d648179602e3a5a0e5f4f7ddd9bfe6f656 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Mon, 1 Jun 2009 22:17:39 +0000 Subject: [PATCH] #4547 again: fix a typo that causes compilation warnings --- Objects/frameobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 049133406c6..f8c5764001e 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;