summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-03-16 19:34:56 +0000
committerThomas Heller <theller@ctypes.org>2006-03-16 19:34:56 +0000
commitb2167614f8c20eacfd6304f85495a884f6435b7b (patch)
treee37ba1b6450b08482768154b9124be1ac0f2865d
parent4c9dfc86f3babfb8ae3d4931c8e5572fab21afc2 (diff)
downloadcpython-git-b2167614f8c20eacfd6304f85495a884f6435b7b.tar.gz
Fix compiler warning.
-rw-r--r--Modules/_ctypes/_ctypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index c916c75a8e..6ee815c955 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -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;