Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 35126:70681267a74a legacy-trunk
Fix signedness of various char variables to stop causing a warning under gcc 4.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Sat, 25 Jun 2005 08:23:41 +0000 |
| parents | cdec978b916c |
| children | b2fe5f8fcfdd |
line wrap: on
line diff
--- a/Python/ceval.c Sat Jun 25 07:07:35 2005 +0000 +++ b/Python/ceval.c Sat Jun 25 08:23:41 2005 +0000 @@ -721,7 +721,7 @@ 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
