diff --git a/dlls/winsock/socket.c b/dlls/winsock/socket.c index 248e2c32981..027ea2fc47c 100644 --- a/dlls/winsock/socket.c +++ b/dlls/winsock/socket.c @@ -2091,8 +2091,8 @@ static struct WIN_servent* __ws_getservbyport(int port, const char* proto, int d else SetLastError(WSAENOBUFS); } else { - MESSAGE("service on port %d protocol %s not found; You might want to add " - "add this to /etc/services\n", ntohl(port), + MESSAGE("service on port %ul protocol %s not found; You might want to add " + "this to /etc/services\n", (unsigned long)ntohl(port), proto ? debugstr_a(pwsi->buffer) : "*"); SetLastError(WSANO_DATA); }