From 711e7f00ca96e3999458d0fa859f2ff763fdbc0e Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Mon, 20 Mar 2006 08:29:28 +0000 Subject: Fix another bug found by Coverty. --- Modules/_ctypes/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index c019af7..74e0ae5 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 * -- cgit v0.12