Author: cito
Date: Tue Nov 24 08:57:10 2015
New Revision: 618
Log:
Avoid possible compiler warning
Modified:
trunk/module/pgmodule.c
Modified: trunk/module/pgmodule.c
==============================================================================
--- trunk/module/pgmodule.c Mon Nov 23 19:49:10 2015 (r617)
+++ trunk/module/pgmodule.c Tue Nov 24 08:57:10 2015 (r618)
@@ -3802,7 +3802,7 @@
if (PyArg_ParseTuple(args, "z", &s)) {
if (!s)
s = "\0";
- else if (*s && (*(s+1) || !ispunct(*s)))
+ else if (*s && (*(s+1) || !ispunct((int)*s)))
s = NULL;
}
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql