diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-04 13:33:00 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-04 13:33:00 (GMT) |
commit | c36625b05df8cf35946a16c1e47faac4d5b5ea00 (patch) | |
tree | 8985757b5009c9efd3811450cb714ea51f596015 /Objects | |
parent | 8fd7b0c1a790158a2ab42f70c6c16636f75a4de8 (diff) | |
download | cpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.zip cpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.tar.gz cpython-c36625b05df8cf35946a16c1e47faac4d5b5ea00.tar.bz2 |
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
Diffstat (limited to 'Objects')
-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 40aaba1..dc7ce87 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -3530,7 +3530,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 * |