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
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ static PyObject* ast2obj_object(void *o)
static PyObject* ast2obj_int(long b)
{
return PyInt_FromLong(b);
return PyLong_FromLong(b);
}
""", 0, reflow=False)