diff options
author | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-03-18 01:09:59 (GMT) |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@gmail.com> | 2008-03-18 01:09:59 (GMT) |
commit | 5de250e823f03e45cee3558b699f9e8b4404c347 (patch) | |
tree | 5bbb0531d83fd6785e47cdbcd20ada279cc9073b /Objects/longobject.c | |
parent | 6eeaddc341ec3ac03070c47cf9095a6c82d3a395 (diff) | |
download | cpython-5de250e823f03e45cee3558b699f9e8b4404c347.zip cpython-5de250e823f03e45cee3558b699f9e8b4404c347.tar.gz cpython-5de250e823f03e45cee3558b699f9e8b4404c347.tar.bz2 |
Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index afa1b75..2e13d61 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -3391,7 +3391,7 @@ long_getnewargs(PyLongObject *v) static PyObject * long_getN(PyLongObject *v, void *context) { - return PyLong_FromLong((intptr_t)context); + return PyLong_FromLong((Py_intptr_t)context); } static PyObject * |