commit | 98ea54c35c37e4f9a7d7a923a7ccd792f4b7ff90 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Aug 15 23:30:40 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Aug 15 23:30:40 2014 +0200 |
tree | 126cb038a65e06368c70f900ed90139c0e67a66b | |
parent | eae94706a30c99150982034d644d8b3abf28110b [diff] [blame] |
Issue #22156: Fix "comparison between signed and unsigned integers" compiler warnings in the Python/ subdirectory.
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index d905ba2..d2d1698 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -581,7 +581,7 @@ return NULL; } - if (strlen(str) != size) { + if (strlen(str) != (size_t)size) { PyErr_SetString(PyExc_TypeError, "source code string cannot contain null bytes"); return NULL;