diff --git a/lib/netplay/netplay.h b/lib/netplay/netplay.h index 014270ea1..d3ed9c745 100644 --- a/lib/netplay/netplay.h +++ b/lib/netplay/netplay.h @@ -125,7 +125,7 @@ typedef enum typedef struct { //Available game storage... JUST FOR REFERENCE! int32_t dwSize; int32_t dwFlags; - char host[16]; // host ip address + char host[40]; // host's ip address (can fit a full IPv4 and IPv6 address + terminating NUL) int32_t dwMaxPlayers; int32_t dwCurrentPlayers; int32_t dwUserFlags[4];