From 80be09a804927499543fe9a0c562492d4d68054a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 13 Jul 2026 09:21:49 -0700 Subject: [PATCH] Fixed error: unknown conversion type character 'z' in format That apparently isn't supported by the mingw compiler --- src/joystick/hidapi/SDL_report_descriptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_report_descriptor.c b/src/joystick/hidapi/SDL_report_descriptor.c index 81b40d61f3..801c027e03 100644 --- a/src/joystick/hidapi/SDL_report_descriptor.c +++ b/src/joystick/hidapi/SDL_report_descriptor.c @@ -480,7 +480,7 @@ static bool ParseDescriptor(DescriptorContext *ctx, const Uint8 *descriptor, siz } #ifdef DEBUG_DESCRIPTOR - SDL_Log("Data: 0x%.2x, size: %zu, type: %d, tag: %d", data, size, type, tag); + SDL_Log("Data: 0x%.2x, size: %d, type: %d, tag: %d", data, (int)size, type, tag); #endif switch (type) { case DescriptorItemTypeMain: