mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Be explicit about types.
This commit is contained in:
parent
b69734ce4a
commit
cc664db231
@ -119,7 +119,7 @@ bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state,
|
||||
int canBroadcast = 1;
|
||||
|
||||
/* Get the broadcast address (IPv4 only for now) */
|
||||
snprintf(port_str, 6, "%hu", RARCH_DEFAULT_PORT);
|
||||
snprintf(port_str, 6, "%hu", (unsigned short) RARCH_DEFAULT_PORT);
|
||||
if (getaddrinfo_retro("255.255.255.255", port_str, &hints, &addr) < 0)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user