summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-28 22:23:56 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-28 22:23:56 (GMT)
commit534b7c5c96006365a713a808022363b057a0bf12 (patch)
treec02831a328c071d53306248e28f3717e4da160c5 /Modules/readline.c
parent1c44e287669c27f4e4f5df6925899d15d8999c12 (diff)
downloadcpython-534b7c5c96006365a713a808022363b057a0bf12.zip
cpython-534b7c5c96006365a713a808022363b057a0bf12.tar.gz
cpython-534b7c5c96006365a713a808022363b057a0bf12.tar.bz2
Trent Mick:
This patch fixes cPickle.c for 64-bit platforms. - The false assumption sizeof(long) == size(void*) exists where PyInt_FromLong is used to represent a pointer. The safe Python call for this is PyLong_FromVoidPtr. (On platforms where the above assumption *is* true a PyInt is returned as before so there is no effective change.) - use size_t instead of int for some variables
Diffstat (limited to 'Modules/readline.c')
0 files changed, 0 insertions, 0 deletions