diff options
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r-- | plugins/pychrysalide/analysis/contents/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/contents/memory.c b/plugins/pychrysalide/analysis/contents/memory.c index 812c580..89a2aa8 100644 --- a/plugins/pychrysalide/analysis/contents/memory.c +++ b/plugins/pychrysalide/analysis/contents/memory.c @@ -70,7 +70,7 @@ static PyObject *py_memory_content_new(PyTypeObject *type, PyObject *args, PyObj ret = PyBytes_AsStringAndSize(data, &buffer, &length); if (ret == -1) Py_RETURN_NONE; - content = g_memory_content_new((bin_t *)buffer, length); + content = g_memory_content_new((const bin_t *)buffer, length); result = pygobject_new(G_OBJECT(content)); |