Commit 711e7f00 authored by Thomas Heller's avatar Thomas Heller

Fix another bug found by Coverty.

parent e2061dc4
...@@ -1363,7 +1363,7 @@ static int ...@@ -1363,7 +1363,7 @@ static int
converter(PyObject *obj, void **address) converter(PyObject *obj, void **address)
{ {
*address = PyLong_AsVoidPtr(obj); *address = PyLong_AsVoidPtr(obj);
return address != NULL; return *address != NULL;
} }
static PyObject * static PyObject *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment