Fixed some old PyInt usage, drastically reduced compile-time warnings
This commit is contained in:
parent
2c42b82799
commit
46a9a86085
6 changed files with 27 additions and 36 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue