]> git.ipfire.org Git - thirdparty/make.git/commitdiff
[SV 64806] Fix MS-specific format specifier master
authorEli Zaretskii <eliz@gnu.org>
Wed, 29 Apr 2026 13:39:36 +0000 (16:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 29 Apr 2026 13:39:36 +0000 (16:39 +0300)
* src/w32/w32os.c (osync_get_mutex): Fix format specifier.

src/w32/w32os.c

index 7a0f99bf25bc38c403c920c022c57140466135c1..4c96b63f521df4eade18c04402af46be07bbfdb2 100644 (file)
@@ -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;