Fix another bug found by Coverty.

This commit is contained in:
Thomas Heller 2006-03-20 08:29:28 +00:00
parent e2061dc48e
commit 711e7f00ca

View file

@ -1363,7 +1363,7 @@ static int
converter(PyObject *obj, void **address)
{
*address = PyLong_AsVoidPtr(obj);
return address != NULL;
return *address != NULL;
}
static PyObject *