]> granicus.if.org Git - python/commitdiff
Fix compiler warning.
authorThomas Heller <theller@ctypes.org>
Thu, 16 Mar 2006 19:34:56 +0000 (19:34 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 16 Mar 2006 19:34:56 +0000 (19:34 +0000)
Modules/_ctypes/_ctypes.c

index c916c75a8e4a63f9d60181193e44d2d8212251eb..6ee815c9559385d65512703cf4fa3503f6584107 100644 (file)
@@ -3017,7 +3017,7 @@ CFuncPtr_call(CFuncPtrObject *self, PyObject *inargs, PyObject *kwds)
 
        int inoutmask;
        int outmask;
-       int numretvals;
+       unsigned int numretvals;
 
        assert(dict); /* if not, it's a bug */
        restype = self->restype ? self->restype : dict->restype;