summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-04 17:56:42 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-04 17:56:42 (GMT)
commit919603b27a5d81a4b9cd470085e046033299f48a (patch)
tree70640ccf035a4b88030083911987254b2668319b /Parser
parent66860f6da417db772e9c823cd7f4d894a10788cd (diff)
downloadcpython-919603b27a5d81a4b9cd470085e046033299f48a.zip
cpython-919603b27a5d81a4b9cd470085e046033299f48a.tar.gz
cpython-919603b27a5d81a4b9cd470085e046033299f48a.tar.bz2
Squash compiler wng about signed-vs-unsigned mismatch.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index fffc19f..6b37b31 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -328,7 +328,7 @@ fp_readl(char *s, int size, struct tok_state *tok)
if (utf8 == NULL) return error_ret(tok);
else {
const char* str = PyString_AsString(utf8);
- assert(strlen(str) < size); /* XXX */
+ assert(strlen(str) < (size_t)size); /* XXX */
strcpy(s, str);
Py_DECREF(utf8);
if (s[0] == '\0') return NULL; /* EOF */