Fixed some old PyInt usage, drastically reduced compile-time warnings

This commit is contained in:
AndrewBC 2011-06-12 13:58:57 -05:00
commit 46a9a86085
6 changed files with 27 additions and 36 deletions

View file

@ -79,7 +79,7 @@ _define_std_ctor(LLVMGenericValueRef)
PyObject *ctor_int(int i)
{
return PyInt_FromLong(i);
return PyLong_FromLong((long)i);
}
PyObject *ctor_llvmwrap_ull(llvmwrap_ull ull)