From: Eli Zaretskii Date: Wed, 29 Apr 2026 13:39:36 +0000 (+0300) Subject: [SV 64806] Fix MS-specific format specifier X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3802782de3eff2c0f1eda9e7c0befd8cd142162;p=thirdparty%2Fmake.git [SV 64806] Fix MS-specific format specifier * src/w32/w32os.c (osync_get_mutex): Fix format specifier. --- diff --git a/src/w32/w32os.c b/src/w32/w32os.c index 7a0f99bf..4c96b63f 100644 --- a/src/w32/w32os.c +++ b/src/w32/w32os.c @@ -434,7 +434,7 @@ osync_get_mutex () /* Prepare the mutex handle string for our children. 2 hex digits per byte + 2 characters for "0x" + null. */ mutex = xmalloc ((2 * sizeof (osync_handle)) + 2 + 1); - sprintf (mutex, "0x%Ix", (unsigned long long)(DWORD_PTR)osync_handle); + sprintf (mutex, "0x%I64x", (unsigned long long)(DWORD_PTR)osync_handle); } return mutex;