X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=winnet.c;h=1663148f39e91882a8a99811dc5a82d30300942d;hb=382ffaf0262c8b552cf5bd32dbf922ceacbf921d;hp=991443adb0d5889bed051f8e553462372418a017;hpb=3270c74f9e72136e396775cf2d071c3a358e1489;p=PuTTY.git diff --git a/winnet.c b/winnet.c index 991443ad..1663148f 100644 --- a/winnet.c +++ b/winnet.c @@ -969,7 +969,7 @@ int select_result(WPARAM wParam, LPARAM lParam) memset(&isa, 0, sizeof(struct sockaddr_in)); err = 0; - t = accept(s->s,&isa,&addrlen); + t = accept(s->s,(struct sockaddr *)&isa,&addrlen); if (t == INVALID_SOCKET) { err = WSAGetLastError();