diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 1e937e4..e4e37d5 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -3451,7 +3451,7 @@ PyCode_Addr2Line(co, addrq) int addrq; { int size = PyString_Size(co->co_lnotab) / 2; - char *p = PyString_AsString(co->co_lnotab); + unsigned char *p = (unsigned char*)PyString_AsString(co->co_lnotab); int line = co->co_firstlineno; int addr = 0; while (--size >= 0) { |