aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/codeobject.c')
-rw-r--r--Objects/codeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index 60563ea7575..90f0bfb7b92 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -1361,7 +1361,8 @@ lineiter_dealloc(PyObject *self)
}
static PyObject *
-_source_offset_converter(int *value) {
+_source_offset_converter(void *arg) {
+ int *value = (int*)arg;
if (*value == -1) {
Py_RETURN_NONE;
}