iphlpapi: Don't truncate 64-bit ptrs.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51620
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51626
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2021-08-23 07:33:03 +01:00 committed by Alexandre Julliard
parent 691bfa2628
commit 773c585193
1 changed files with 2 additions and 1 deletions

View File

@ -864,7 +864,8 @@ ULONG adapters_addresses_size( IP_ADAPTER_ADDRESSES *info )
void adapters_addresses_copy( IP_ADAPTER_ADDRESSES *dst, IP_ADAPTER_ADDRESSES *src )
{
char *ptr;
DWORD len, align = sizeof(ULONGLONG) - 1;
DWORD len;
UINT_PTR align = sizeof(ULONGLONG) - 1;
struct address_entry_copy_params params;
while (src)