From 919603b27a5d81a4b9cd470085e046033299f48a Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 4 Aug 2002 17:56:42 +0000 Subject: [PATCH] Squash compiler wng about signed-vs-unsigned mismatch. --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index fffc19fa276..6b37b3196a5 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 */