iphlpapi: Fixed size to MultiByteToWideChar.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
98b1d68aac
commit
e7007ee814
|
@ -2331,7 +2331,7 @@ static void test_ParseNetworkString(void)
|
||||||
for (i = 0; i < ARRAY_SIZE(ipv4_address_tests); i++)
|
for (i = 0; i < ARRAY_SIZE(ipv4_address_tests); i++)
|
||||||
{
|
{
|
||||||
MultiByteToWideChar(CP_ACP, 0, ipv4_address_tests[i].str, sizeof(ipv4_address_tests[i].str),
|
MultiByteToWideChar(CP_ACP, 0, ipv4_address_tests[i].str, sizeof(ipv4_address_tests[i].str),
|
||||||
wstr, sizeof(wstr));
|
wstr, ARRAY_SIZE(wstr));
|
||||||
memset(&info, 0x99, sizeof(info));
|
memset(&info, 0x99, sizeof(info));
|
||||||
port = 0x9999;
|
port = 0x9999;
|
||||||
prefix_len = 0x99;
|
prefix_len = 0x99;
|
||||||
|
@ -2357,7 +2357,7 @@ static void test_ParseNetworkString(void)
|
||||||
for (i = 0; i < ARRAY_SIZE(ipv4_service_tests); i++)
|
for (i = 0; i < ARRAY_SIZE(ipv4_service_tests); i++)
|
||||||
{
|
{
|
||||||
MultiByteToWideChar(CP_ACP, 0, ipv4_service_tests[i].str, sizeof(ipv4_service_tests[i].str),
|
MultiByteToWideChar(CP_ACP, 0, ipv4_service_tests[i].str, sizeof(ipv4_service_tests[i].str),
|
||||||
wstr, sizeof(wstr));
|
wstr, ARRAY_SIZE(wstr));
|
||||||
memset(&info, 0x99, sizeof(info));
|
memset(&info, 0x99, sizeof(info));
|
||||||
port = 0x9999;
|
port = 0x9999;
|
||||||
prefix_len = 0x99;
|
prefix_len = 0x99;
|
||||||
|
|
Loading…
Reference in New Issue