Use the correct type for recvfrom argument.

This commit is contained in:
riccardom 2009-09-09 18:24:23 +00:00
parent 3ac9b07639
commit dd321a27e1
1 changed files with 1 additions and 1 deletions

View File

@ -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;