From bc93523f69480160baa9210b358ca30daedb04d7 Mon Sep 17 00:00:00 2001 From: auouymous Date: Mon, 20 Nov 2023 03:15:30 -0700 Subject: [PATCH] Change %d to %ld in Windows launcher. --- tools/win_installer/misc/create-launcher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/win_installer/misc/create-launcher.py b/tools/win_installer/misc/create-launcher.py index d7a37ba5..12752364 100644 --- a/tools/win_installer/misc/create-launcher.py +++ b/tools/win_installer/misc/create-launcher.py @@ -85,7 +85,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, if (retval == 0) { // It's bad, but can be ignored - printf ("GetFullPathName failed (%%d)\\n", GetLastError()); + printf ("GetFullPathName failed (%%ld)\\n", GetLastError()); } else if (retval < BUFSIZE) { @@ -100,7 +100,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, } else { - printf ("SetDllDirectoryW failed (%%d)\\n", GetLastError()); + printf ("SetDllDirectoryW failed (%%ld)\\n", GetLastError()); } } else @@ -110,7 +110,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, } else { - printf ("GetFullPathName buffer too small (required %%d)\\n", retval); + printf ("GetFullPathName buffer too small (required %%ld)\\n", retval); return -1; // this shouldn't happen } -- 2.11.4.GIT