mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Squash compiler wng about signed-vs-unsigned mismatch.
This commit is contained in:
parent
66860f6da4
commit
919603b27a
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue