diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2019-11-21 22:06:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-21 22:06:41 +0100 |
| commit | ee9b0eccfcde5dbedd362080388dca2549695d5d (patch) | |
| tree | 44a22ffc4ae9fded1a1dcf50128bf0c097952d65 | |
| parent | 568a6207e4f4c82df98564a7463a12119f367bf5 (diff) | |
| parent | cdfca48d499b01b77c111f31ebba795749ab0660 (diff) | |
| download | miasm-ee9b0eccfcde5dbedd362080388dca2549695d5d.tar.gz miasm-ee9b0eccfcde5dbedd362080388dca2549695d5d.zip | |
Merge pull request #1100 from serpilliere/fix_int_long
Fix int/long py2/py3
| -rw-r--r-- | miasm/jitter/loader/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/jitter/loader/utils.py b/miasm/jitter/loader/utils.py index d03adc8a..b165960d 100644 --- a/miasm/jitter/loader/utils.py +++ b/miasm/jitter/loader/utils.py @@ -13,7 +13,7 @@ log.setLevel(logging.DEBUG) def canon_libname_libfunc(libname, libfunc): assert isinstance(libname, basestring) - assert isinstance(libfunc, basestring) or isinstance(libfunc, int) + assert isinstance(libfunc, basestring) or isinstance(libfunc, int_types) dn = libname.split('.')[0] if isinstance(libfunc, int_types): return str(dn), libfunc |