summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-09-09 10:26:32 (GMT)
committerGitHub <noreply@github.com>2020-09-09 10:26:32 (GMT)
commit23d3681671bb538ef69c65875b68d59f6b756e61 (patch)
treefd55bde1ff4294a5a23751167bf4492a9a0c3087 /Doc
parent9171dc2827650a1a3c20dee994145e335befa00e (diff)
downloadcpython-23d3681671bb538ef69c65875b68d59f6b756e61.zip
cpython-23d3681671bb538ef69c65875b68d59f6b756e61.tar.gz
cpython-23d3681671bb538ef69c65875b68d59f6b756e61.tar.bz2
Fix compiler warnings in init_dump_ascii_wstr() (GH-22150)
Fix GCC 9.3 (using -O3) warnings on x86: initconfig.c: In function ‘init_dump_ascii_wstr’: initconfig.c:2679:34: warning: format ‘%lc’ expects argument of type ‘wint_t’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2679 | PySys_WriteStderr("%lc", ch); initconfig.c:2682:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2682 | PySys_WriteStderr("\\x%02x", ch); initconfig.c:2686:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2686 | PySys_WriteStderr("\\U%08x", ch); initconfig.c:2690:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2690 | PySys_WriteStderr("\\u%04x", ch); (cherry picked from commit 640e8e1d5f61d5868453d992da04bf4741327748) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions