]> granicus.if.org Git - python/commit
Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Mar 2008 04:58:51 +0000 (04:58 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 28 Mar 2008 04:58:51 +0000 (04:58 +0000)
commitd183bdd6fb77ae562714c655f0689beacdc00da1
treefefb66dad02e0e67e3060459b4501a70f455eb00
parent36550bdde947ef7cad57d1375fbcf6096b017231
Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
Rather than sprinkle casts throughout the code, change Py_CHARMASK to
always cast it's result to an unsigned char.  This should ensure we
do the right thing when accessing an array with the result.
Include/Python.h
Include/bytes_methods.h
Objects/longobject.c
Objects/unicodeobject.c
Parser/tokenizer.c
Python/mystrtoul.c