From c9371d4a1b64074e48bfe99713970c9a01112f60 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 25 Jun 2005 08:23:41 +0000 Subject: Fix signedness of various char variables to stop causing a warning under gcc 4. --- Python/ceval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ceval.c') diff --git a/Python/ceval.c b/Python/ceval.c index 972061d0d6..1103dfc736 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -721,7 +721,7 @@ PyEval_EvalFrame(PyFrameObject *f) consts = co->co_consts; fastlocals = f->f_localsplus; freevars = f->f_localsplus + f->f_nlocals; - first_instr = PyString_AS_STRING(co->co_code); + first_instr = (unsigned char*) PyString_AS_STRING(co->co_code); /* An explanation is in order for the next line. f->f_lasti now refers to the index of the last instruction -- cgit v1.2.1