iphlpapi: Make addrLen unsigned in getInterfacePhysicalByName.
Gerald Pfeifer
gerald at pfeifer.com
Sun May 22 13:54:45 CDT 2011
All other types and constants here are unsigned, too.
Gerald
---
dlls/iphlpapi/ifenum.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c
index c998b93..a0d7577 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)
--
1.7.4.1
More information about the wine-patches
mailing list