From 39fa89b214efe1fe8da04b8071e67225f73e7513 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Mon, 15 May 2023 21:47:12 -0400 Subject: [PATCH] Fix parport_joypad snprintf warning --- input/drivers_joypad/parport_joypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/drivers_joypad/parport_joypad.c b/input/drivers_joypad/parport_joypad.c index 38826a4dae..d7440daedb 100644 --- a/input/drivers_joypad/parport_joypad.c +++ b/input/drivers_joypad/parport_joypad.c @@ -249,7 +249,7 @@ static void *parport_joypad_init(void *data) pad->fd = -1; pad->ident = input_config_get_device_name_ptr(i); - snprintf(path + _len, sizeof(path) - _len, "%u", i); + snprintf(path + _len, sizeof(path) - _len, "%u", (uint32_t)i); if (parport_joypad_init_pad(path, pad)) {