From dd321a27e1a0f270613dab9dfe15ef3fc18eff29 Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 9 Sep 2009 18:24:23 +0000 Subject: [PATCH] Use the correct type for recvfrom argument. --- desmume/src/wifi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/wifi.cpp b/desmume/src/wifi.cpp index a763eee55..5dcd19464 100644 --- a/desmume/src/wifi.cpp +++ b/desmume/src/wifi.cpp @@ -1802,7 +1802,7 @@ void Adhoc_usTrigger() if (select(1, &fd, 0, 0, &tv)) { sockaddr_t fromAddr; - int fromLen = sizeof(sockaddr_t); + socklen_t fromLen = sizeof(sockaddr_t); u8 buf[1536]; u8* ptr; u16 packetLen;