diff options
| author | serpilliere <devnull@localhost> | 2011-10-14 09:26:40 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2011-10-14 09:26:40 +0200 |
| commit | da6bd4de7b486e96a65671c20181b092fecca191 (patch) | |
| tree | 96a5ed69bfb8153f0dbd5942b8e4e2a99af0e548 | |
| parent | a59442d5fd3f502d45dac5ecb53db96fc3f6f2a2 (diff) | |
| download | miasm-da6bd4de7b486e96a65671c20181b092fecca191.tar.gz miasm-da6bd4de7b486e96a65671c20181b092fecca191.zip | |
fix 64bit call to tcc funcs
| -rw-r--r-- | miasm/tools/emul_lib/libcodenat_tcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/tools/emul_lib/libcodenat_tcc.c b/miasm/tools/emul_lib/libcodenat_tcc.c index 31167f33..2712dea3 100644 --- a/miasm/tools/emul_lib/libcodenat_tcc.c +++ b/miasm/tools/emul_lib/libcodenat_tcc.c @@ -87,7 +87,7 @@ PyObject* tcc_exec_bloc(PyObject* self, PyObject* args) uint64_t (*func)(void); unsigned long ret; - if (!PyArg_ParseTuple(args, "i", &func)) + if (!PyArg_ParseTuple(args, "l", &func)) return NULL; ret = func(); return PyLong_FromUnsignedLong(ret); |