Update of /cvsroot/ctypes/ctypes/source
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31041
Modified Files:
callproc.c
Log Message:
Fix compiler warning about comparison of signed and unsigned values.
Index: callproc.c
===================================================================
RCS file: /cvsroot/ctypes/ctypes/source/callproc.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -C2 -d -r1.165 -r1.166
*** callproc.c 12 May 2006 20:26:18 -0000 1.165
--- callproc.c 18 May 2006 20:09:46 -0000 1.166
***************
*** 1460,1464 ****
return NULL;
}
! if (size < (size_t)dict->size) {
PyErr_Format(PyExc_ValueError,
"minimum size is %d", dict->size);
--- 1460,1464 ----
return NULL;
}
! if (size < dict->size) {
PyErr_Format(PyExc_ValueError,
"minimum size is %d", dict->size);
|