silence some warnings.

svn path=/trunk/; revision=19537
This commit is contained in:
Ged Murphy 2005-11-24 23:07:36 +00:00
parent 2b1c91b1ff
commit 1c7c9e87d1
2 changed files with 6 additions and 0 deletions

View file

@ -139,6 +139,11 @@ DWORD getInterfaceEntryByIndex(DWORD index, PMIB_IFROW entry);
*/
char *toIPAddressString(unsigned int addr, char string[16]);
/* add and delete IP addresses */
NTSTATUS addIPAddress( IPAddr Address, IPMask Mask, DWORD IfIndex,
PULONG NteContext, PULONG NteInstance );
NTSTATUS deleteIpAddress( ULONG NteContext );
/* Inserts a route into the route table. */
DWORD createIpForwardEntryOS(PMIB_IPFORWARDROW pRoute);

View file

@ -613,6 +613,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
winsEnabled = TRUE;
RegCloseKey(hKey);
}
for (ndx = 0; ndx < table->numIndexes; ndx++) {
PIP_ADAPTER_INFO ptr = &pAdapterInfo[ndx];
DWORD addrLen = sizeof(ptr->Address), type;