From: Thomas Heller Date: Mon, 20 Mar 2006 08:29:28 +0000 (+0000) Subject: Fix another bug found by Coverty. X-Git-Tag: v2.5a0~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=711e7f00ca96e3999458d0fa859f2ff763fdbc0e;p=thirdparty%2FPython%2Fcpython.git Fix another bug found by Coverty. --- diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index c019af7be676..74e0ae50766c 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 *