commit | 919603b27a5d81a4b9cd470085e046033299f48a | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Aug 04 17:56:42 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Aug 04 17:56:42 2002 +0000 |
tree | 70640ccf035a4b88030083911987254b2668319b | |
parent | 66860f6da417db772e9c823cd7f4d894a10788cd [diff] [blame] |
Squash compiler wng about signed-vs-unsigned mismatch.
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 @@ 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 */