We're warning free now :D
This commit is contained in:
parent
46a9a86085
commit
7035735ea4
1 changed files with 1 additions and 1 deletions
|
|
@ -1033,7 +1033,7 @@ _wLLVMRemoveModule2(PyObject *self, PyObject *args)
|
|||
|
||||
#ifdef LLVM_PY_USE_PYCAPSULE
|
||||
ee = (LLVMExecutionEngineRef) PyCapsule_GetPointer(obj_ee, NULL);
|
||||
mod = (LLVMValueRef) PyCapsule_GetPointer(obj_mod, NULL);
|
||||
mod = (LLVMModuleRef) PyCapsule_GetPointer(obj_mod, NULL);
|
||||
#else
|
||||
ee = (LLVMExecutionEngineRef) PyCObject_AsVoidPtr(obj_ee);
|
||||
mod = (LLVMModuleRef) PyCObject_AsVoidPtr(obj_mod);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue