File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
erts/emulator/drivers/common Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12905,10 +12905,10 @@ static int tcp_inet_input(tcp_descriptor* desc, HANDLE event)
1290512905{
1290612906 int ret = 0 ;
1290712907#ifdef DEBUG
12908- long port = ( long ) desc -> inet .port ; /* Used after driver_exit() */
12908+ void * port = desc -> inet .port ; /* Used after driver_exit() */
1290912909#endif
1291012910 ASSERT (!INET_IGNORED (INETP (desc )));
12911- DEBUGF (("tcp_inet_input(%lx ) {s=%d\r\n" , port , desc -> inet .s ));
12911+ DEBUGF (("tcp_inet_input(%p ) {s=%d\r\n" , port , desc -> inet .s ));
1291212912 if (desc -> inet .state == INET_STATE_ACCEPTING ) {
1291312913 SOCKET s ;
1291412914 unsigned int len ;
@@ -13045,11 +13045,11 @@ static int tcp_inet_input(tcp_descriptor* desc, HANDLE event)
1304513045 else {
1304613046 /* maybe a close op from connection attempt?? */
1304713047 sock_select (INETP (desc ),FD_ACCEPT ,0 );
13048- DEBUGF (("tcp_inet_input(%lx ): s=%d bad state: %04x\r\n" ,
13048+ DEBUGF (("tcp_inet_input(%p ): s=%d bad state: %04x\r\n" ,
1304913049 port , desc -> inet .s , desc -> inet .state ));
1305013050 }
1305113051 done :
13052- DEBUGF (("tcp_inet_input(%lx ) }\r\n" , port ));
13052+ DEBUGF (("tcp_inet_input(%p ) }\r\n" , port ));
1305313053 return ret ;
1305413054}
1305513055
You can’t perform that action at this time.
0 commit comments