diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index c019af7be67..74e0ae50766 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -1363,7 +1363,7 @@ static int converter(PyObject *obj, void **address) { *address = PyLong_AsVoidPtr(obj); - return address != NULL; + return *address != NULL; } static PyObject *