Skip to content

Commit 4e961ee

Browse files
committed
Add a cast for Nintendo
They insist on using "enum class" and making their parallel version of Berkely sockets, and I am 100% confident that literally not one single person actually wants this. P4:7324300
1 parent bbdb077 commit 4e961ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tier1/netadr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ bool CIPAddress::SetFromSockadr(const void *addr, size_t addr_size, uint16 *punP
431431
Assert( false );
432432
return false;
433433
}
434-
switch ( s->sa_family )
434+
switch ( (int)s->sa_family )
435435
{
436436
case AF_INET:
437437
{

0 commit comments

Comments
 (0)