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:
parent
691bfa2628
commit
773c585193
|
@ -864,7 +864,8 @@ ULONG adapters_addresses_size( IP_ADAPTER_ADDRESSES *info )
|
||||||
void adapters_addresses_copy( IP_ADAPTER_ADDRESSES *dst, IP_ADAPTER_ADDRESSES *src )
|
void adapters_addresses_copy( IP_ADAPTER_ADDRESSES *dst, IP_ADAPTER_ADDRESSES *src )
|
||||||
{
|
{
|
||||||
char *ptr;
|
char *ptr;
|
||||||
DWORD len, align = sizeof(ULONGLONG) - 1;
|
DWORD len;
|
||||||
|
UINT_PTR align = sizeof(ULONGLONG) - 1;
|
||||||
struct address_entry_copy_params params;
|
struct address_entry_copy_params params;
|
||||||
|
|
||||||
while (src)
|
while (src)
|
||||||
|
|
Loading…
Reference in New Issue