From fc80ee6679067952cb83c111528008121b1dbedf Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 18 Sep 2025 19:34:28 +0100 Subject: [PATCH] SOCK_Send: Consistently unsigned types in iteration Both mysocketses and broadcastaddresses are unsigned, but i and j were ptrdiff_t..? These *also* just started erroring for me --- src/i_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_tcp.c b/src/i_tcp.c index 4dddd1522..35f071d95 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -557,7 +557,7 @@ static inline ptrdiff_t SOCK_SendToAddr(SOCKET_TYPE socket, mysockaddr_t* sockad static void SOCK_Send(void) { ptrdiff_t c = ERRSOCKET; - ptrdiff_t i, j; + size_t i, j; if (!nodeconnected[doomcom->remotenode]) return;