Issue #22156: Fix some "comparison between signed and unsigned integers"

compiler warnings in the Modules/ subdirectory.
This commit is contained in:
Victor Stinner 2014-08-16 01:03:39 +02:00
parent 12174a5dca
commit 706768c687
13 changed files with 24 additions and 21 deletions

View file

@ -290,7 +290,7 @@ dialect_check_quoting(int quoting)
StyleDesc *qs;
for (qs = quote_styles; qs->name; qs++) {
if (qs->style == quoting)
if ((int)qs->style == quoting)
return 0;
}
PyErr_Format(PyExc_TypeError, "bad \"quoting\" value");