summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/analysis')
-rw-r--r--plugins/pychrysalide/analysis/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/type.c b/plugins/pychrysalide/analysis/type.c
index 303d188..86a0ffb 100644
--- a/plugins/pychrysalide/analysis/type.c
+++ b/plugins/pychrysalide/analysis/type.c
@@ -243,7 +243,7 @@ static guint py_data_type_hash_wrapper(const GDataType *type)
if (pyret != NULL)
{
if (PyLong_Check(pyret))
- result = PyLong_AsUnsignedLong(pyret);
+ result = PyLong_AsSsize_t(pyret);
}
Py_XDECREF(pyret);