Kaydet (Commit) 711e7f00 authored tarafından Thomas Heller's avatar Thomas Heller

Fix another bug found by Coverty.

üst e2061dc4
......@@ -1363,7 +1363,7 @@ static int
converter(PyObject *obj, void **address)
{
*address = PyLong_AsVoidPtr(obj);
return address != NULL;
return *address != NULL;
}
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