Commit e7007ee8 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

iphlpapi: Fixed size to MultiByteToWideChar.

parent 98b1d68a
......@@ -2331,7 +2331,7 @@ static void test_ParseNetworkString(void)
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),
wstr, sizeof(wstr));
wstr, ARRAY_SIZE(wstr));
memset(&info, 0x99, sizeof(info));
port = 0x9999;
prefix_len = 0x99;
......@@ -2357,7 +2357,7 @@ static void test_ParseNetworkString(void)
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),
wstr, sizeof(wstr));
wstr, ARRAY_SIZE(wstr));
memset(&info, 0x99, sizeof(info));
port = 0x9999;
prefix_len = 0x99;
......
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