Mercurial > cpython-lru_cache-weakref
diff Objects/longobject.c @ 44469:5d7d2af59afe
Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Fri, 04 Jan 2008 13:33:00 +0000 |
| parents | 13aabc23cf2e |
| children | 357b365560f4 |
line wrap: on
line diff
--- a/Objects/longobject.c Fri Jan 04 12:57:11 2008 +0000 +++ b/Objects/longobject.c Fri Jan 04 13:33:00 2008 +0000 @@ -3530,7 +3530,7 @@ static PyObject * long_getN(PyLongObject *v, void *context) { - return PyLong_FromLong((intptr_t)context); + return PyLong_FromLong((Py_intptr_t)context); } static PyObject *
