summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-06-25 08:23:41 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-06-25 08:23:41 (GMT)
commitc9371d4a1b64074e48bfe99713970c9a01112f60 (patch)
tree153d8e0a7df05cc0606fb29343eb4256df19c3ab /Python/ceval.c
parent55fa66dd45e76a57deca8cebaedf1a624499648b (diff)
downloadcpython-c9371d4a1b64074e48bfe99713970c9a01112f60.zip
cpython-c9371d4a1b64074e48bfe99713970c9a01112f60.tar.gz
cpython-c9371d4a1b64074e48bfe99713970c9a01112f60.tar.bz2
Fix signedness of various char variables to stop causing a warning under gcc 4.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 972061d..1103dfc 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