Try PY_LONG_LONG replacement for unsigned long long
This commit is contained in:
parent
5d4759bd55
commit
00b3449443
1 changed files with 3 additions and 2 deletions
|
|
@ -1352,9 +1352,10 @@ _wLLVMAddGlobalMapping(PyObject *self, PyObject *args)
|
|||
LLVMPY_TRY
|
||||
PyObject *obj_ee;
|
||||
PyObject *obj_val;
|
||||
unsigned long long address;
|
||||
unsigned PY_LONG_LONG address;
|
||||
assert(sizeof(address) >= sizeof(void*));
|
||||
|
||||
if (!PyArg_ParseTuple(args, "OOL", &obj_ee, &obj_val, &address))
|
||||
if (!PyArg_ParseTuple(args, "OOK", &obj_ee, &obj_val, &address))
|
||||
return NULL;
|
||||
|
||||
const LLVMExecutionEngineRef ee = pycap_get<LLVMExecutionEngineRef>( obj_ee );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue