Fixed a problem found by Bill Janssen on Mac OS X

There was one occurence of PyInt_FromLong left in Parser/asdl_c.py. The files creates some C code.
This commit is contained in:
Christian Heimes 2007-12-02 22:43:00 +00:00
parent a09ca3850f
commit 2b1c592d22

View file

@ -469,7 +469,7 @@ def visitModule(self, mod):
static PyObject* ast2obj_int(long b)
{
return PyInt_FromLong(b);
return PyLong_FromLong(b);
}
""", 0, reflow=False)