mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Fix parport_joypad snprintf warning
This commit is contained in:
parent
b206598c10
commit
39fa89b214
@ -249,7 +249,7 @@ static void *parport_joypad_init(void *data)
|
|||||||
pad->fd = -1;
|
pad->fd = -1;
|
||||||
pad->ident = input_config_get_device_name_ptr(i);
|
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))
|
if (parport_joypad_init_pad(path, pad))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user