diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-03-14 10:47:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 10:47:27 +0200 |
commit | 783bed4c8daf65a2893d94761ea44af4e3718f4f (patch) | |
tree | cf5ce9cca23905968219200014eef4e7506b7563 /Python/dynload_win.c | |
parent | a84f9bc11c3ce4854f7b4e16f3cb3cca954092f6 (diff) | |
download | cpython-git-783bed4c8daf65a2893d94761ea44af4e3718f4f.tar.gz |
[3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)
(cherry picked from commit d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r-- | Python/dynload_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index 0fdf77f552..51325be658 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c @@ -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 |