netapi32: Fix h_addr_list handling.

This commit is contained in:
Lauri Kenttä 2011-07-01 16:10:25 +03:00 committed by Alexandre Julliard
parent ad2f8bdd5c
commit 46328eff5e
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ static UCHAR NetBTinetResolve(const UCHAR name[NCBNAMSZ],
(*cacheEntry)->numAddresses = i;
for (i = 0; i < (*cacheEntry)->numAddresses; i++)
(*cacheEntry)->addresses[i] =
(DWORD)host->h_addr_list[i];
*(DWORD*)host->h_addr_list[i];
}
else
ret = NRC_OSRESNOTAV;