commit | c36625b05df8cf35946a16c1e47faac4d5b5ea00 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Fri Jan 04 13:33:00 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Fri Jan 04 13:33:00 2008 +0000 |
tree | 8985757b5009c9efd3811450cb714ea51f596015 | |
parent | 8fd7b0c1a790158a2ab42f70c6c16636f75a4de8 [diff] |
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
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 @@ static PyObject * long_getN(PyLongObject *v, void *context) { - return PyLong_FromLong((intptr_t)context); + return PyLong_FromLong((Py_intptr_t)context); } static PyObject *