From dcb3da548931307719d6db7922647b8e6ae02ea1 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 9 Jul 2026 09:14:38 -0700
Subject: [PATCH] Revert "Cygwin: Reduce warning"
This reverts commit 3eb9b5e49af559b7896c443b17913fc221c16af5.
---
src/joystick/windows/SDL_dinputjoystick.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c
index b0fe600fd087a..c6712600f8dc1 100644
--- a/src/joystick/windows/SDL_dinputjoystick.c
+++ b/src/joystick/windows/SDL_dinputjoystick.c
@@ -230,7 +230,7 @@ const DIDATAFORMAT SDL_c_dfDIJoystick2 = {
// Convert a DirectInput return code to a text message
static bool SetDIerror(const char *function, HRESULT code)
{
- return SDL_SetError("%s() DirectX error 0x%8.8" SDL_PRIxSLONG, function, code);
+ return SDL_SetError("%s() DirectX error 0x%8.8lx", function, code);
}
static bool SDL_IsXInputDevice(Uint16 vendor_id, Uint16 product_id, const char *hidPath)