mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #22156: Fix some "comparison between signed and unsigned integers"
compiler warnings in the Modules/ subdirectory.
This commit is contained in:
parent
12174a5dca
commit
706768c687
13 changed files with 24 additions and 21 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue