From c053e6680cc4030184415c82e681cd421c78a9de Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 22 May 2011 20:54:45 +0200 Subject: [PATCH] iphlpapi: Make addrLen unsigned in getInterfacePhysicalByName. --- dlls/iphlpapi/ifenum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c index c998b93b3c7..a0d75777b9c 100644 --- a/dlls/iphlpapi/ifenum.c +++ b/dlls/iphlpapi/ifenum.c @@ -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)