Commit 46328eff authored by Lauri Kenttä's avatar Lauri Kenttä Committed by Alexandre Julliard

netapi32: Fix h_addr_list handling.

parent ad2f8bdd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment