mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
[3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)
(cherry picked from commit d53fe5f407)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
a84f9bc11c
commit
783bed4c8d
18 changed files with 34 additions and 34 deletions
|
|
@ -254,7 +254,7 @@ dl_funcptr _PyImport_FindSharedFuncptrWindows(const char *prefix,
|
|||
This should not happen if called correctly. */
|
||||
if (theLength == 0) {
|
||||
message = PyUnicode_FromFormat(
|
||||
"DLL load failed with error code %d",
|
||||
"DLL load failed with error code %u",
|
||||
errorCode);
|
||||
} else {
|
||||
/* For some reason a \r\n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue