[NETREG] Fix a 64bit printf format warning

This commit is contained in:
Timo Kreuzer 2019-11-23 17:48:16 +01:00
parent 70bcd0fc6b
commit 03522e1ede

View file

@ -417,7 +417,7 @@ SOCKET make_listening_socket( int port ) {
fprintf( stderr, "Creating the listener\n" ); fprintf( stderr, "Creating the listener\n" );
SOCKET l = socket( PF_INET, SOCK_STREAM, 0 ); SOCKET l = socket( PF_INET, SOCK_STREAM, 0 );
fprintf( stderr, "Socket %x\n", l ); fprintf( stderr, "Socket %Ix\n", l );
if( l == INVALID_SOCKET ) return l; if( l == INVALID_SOCKET ) return l;
if( bind( l, (struct sockaddr *)&sa, sizeof( sa ) ) < 0 ) { if( bind( l, (struct sockaddr *)&sa, sizeof( sa ) ) < 0 ) {