diff --git a/third_party/sfml/src/SFML/Network/IpAddress.cpp b/third_party/sfml/src/SFML/Network/IpAddress.cpp index d6b83029..a278389a 100644 --- a/third_party/sfml/src/SFML/Network/IpAddress.cpp +++ b/third_party/sfml/src/SFML/Network/IpAddress.cpp @@ -100,7 +100,7 @@ static const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) #endif ZeroMemory(&ss, sizeof(ss)); - ss.ss_family = af; + ss.ss_family = (ADDRESS_FAMILY)af; switch(af) { case AF_INET: