Alexandre Julliard : ws2_32/tests: Don't use socklen_t.
Alexandre Julliard
julliard at winehq.org
Tue Mar 31 12:19:21 CDT 2009
Module: wine
Branch: master
Commit: 65e71259df49574bb3c63ca9ba5f9d417b077fff
URL: http://source.winehq.org/git/wine.git/?a=commit;h=65e71259df49574bb3c63ca9ba5f9d417b077fff
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 31 12:13:15 2009 +0200
ws2_32/tests: Don't use socklen_t.
---
dlls/ws2_32/tests/sock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 22455ef..ffc7ba9 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -270,7 +270,7 @@ static int do_synchronous_recv ( SOCKET s, char *buf, int buflen, int recvlen )
return p - buf;
}
-static int do_synchronous_recvfrom ( SOCKET s, char *buf, int buflen,int flags,struct sockaddr *from, socklen_t *fromlen, int recvlen )
+static int do_synchronous_recvfrom ( SOCKET s, char *buf, int buflen,int flags,struct sockaddr *from, int *fromlen, int recvlen )
{
char* last = buf + buflen, *p;
int n = 1;
@@ -642,7 +642,7 @@ static VOID WINAPI simple_mixed_client ( client_params *par )
test_params *gen = par->general;
client_memory *mem;
int pos, n_sent, n_recvd, n_expected = gen->n_chunks * gen->chunk_size, id;
- socklen_t fromLen = sizeof(mem->addr);
+ int fromLen = sizeof(mem->addr);
struct sockaddr test;
id = GetCurrentThreadId();
More information about the wine-cvs
mailing list