diff options
author | Thomas Heller <theller@ctypes.org> | 2006-03-20 08:29:28 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-03-20 08:29:28 (GMT) |
commit | 711e7f00ca96e3999458d0fa859f2ff763fdbc0e (patch) | |
tree | 09e531b86d34e41a05d0285f4f24cb17d37835b6 | |
parent | e2061dc48e1e41611f839a0d2d2afbe7428a95ed (diff) | |
download | cpython-711e7f00ca96e3999458d0fa859f2ff763fdbc0e.zip cpython-711e7f00ca96e3999458d0fa859f2ff763fdbc0e.tar.gz cpython-711e7f00ca96e3999458d0fa859f2ff763fdbc0e.tar.bz2 |
Fix another bug found by Coverty.
-rw-r--r-- | Modules/_ctypes/callproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |