iphlpapi: Make addrLen unsigned in getInterfacePhysicalByName.

This commit is contained in:
Gerald Pfeifer 2011-05-22 20:54:45 +02:00 committed by Alexandre Julliard
parent 4ecd6e7934
commit c053e6680c
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr
u_char *p, *buf;
size_t mibLen;
int mib[] = { CTL_NET, AF_ROUTE, 0, AF_LINK, NET_RT_IFLIST, 0 };
int addrLen;
unsigned addrLen;
BOOL found = FALSE;
if (!name || !len || !addr || !type)