commit | 5de250e823f03e45cee3558b699f9e8b4404c347 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@gmail.com> | Tue Mar 18 01:09:59 2008 +0000 |
committer | Jeffrey Yasskin <jyasskin@gmail.com> | Tue Mar 18 01:09:59 2008 +0000 |
tree | 5bbb0531d83fd6785e47cdbcd20ada279cc9073b | |
parent | 6eeaddc341ec3ac03070c47cf9095a6c82d3a395 [diff] [blame] |
Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.
diff --git a/Objects/intobject.c b/Objects/intobject.c index 65c1c23..9158aa4 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c
@@ -1038,7 +1038,7 @@ static PyObject * int_getN(PyIntObject *v, void *context) { - return PyInt_FromLong((intptr_t)context); + return PyInt_FromLong((Py_intptr_t)context); } /* Convert an integer to the given base. Returns a string.