From 58a002ce5b4499bccab6f70d0b18488a9d75a76e Mon Sep 17 00:00:00 2001 From: "elias.bachaalany" Date: Mon, 18 Apr 2011 16:14:58 +0000 Subject: [PATCH] bugfix: High 64 bit addresses were not parsed correctly in IDA64 --- swig/idaapi.i | 1 + 1 file changed, 1 insertion(+) diff --git a/swig/idaapi.i b/swig/idaapi.i index 1cc193e..0805fa2 100644 --- a/swig/idaapi.i +++ b/swig/idaapi.i @@ -914,6 +914,7 @@ bool PyW_GetNumber(PyObject *py_var, uint64 *num, bool *is_64) *is_64 = true; return true; } + PyErr_Clear(); // Try to parse as uint64 unsigned PY_LONG_LONG ull = PyLong_AsUnsignedLongLong(py_var);