From b3802782de3eff2c0f1eda9e7c0befd8cd142162 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 29 Apr 2026 16:39:36 +0300 Subject: [PATCH] [SV 64806] Fix MS-specific format specifier * src/w32/w32os.c (osync_get_mutex): Fix format specifier. --- src/w32/w32os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3