From: Thomas Heller <theller@ctypes.org>
Date: Thu, 16 Mar 2006 19:34:56 +0000 (+0000)
Subject: Fix compiler warning.
X-Git-Tag: v2.5a0~210
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2167614f8c20eacfd6304f85495a884f6435b7b;p=python

Fix compiler warning.
---

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;