From: Marcus Meissner marcus@jet.franken.de
Signed-off-by: Marcus Meissner marcus@jet.franken.de --- dlls/kernel32/tests/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c index b8ac6fdd827..975aa7bb69d 100644 --- a/dlls/kernel32/tests/volume.c +++ b/dlls/kernel32/tests/volume.c @@ -1676,7 +1676,7 @@ static void test_mounted_folder(void)
ret = GetVolumeNameForVolumeMountPointA( "C:\", volume_name, sizeof(volume_name) ); ok(ret, "got error %lu\n", GetLastError()); - ret = GetVolumeNameForVolumeMountPointW( L"C:\", volume_nameW, sizeof(volume_nameW) ); + ret = GetVolumeNameForVolumeMountPointW( L"C:\", volume_nameW, ARRAY_SIZE(volume_nameW) ); ok(ret, "got error %lu\n", GetLastError());
ret = SetVolumeMountPointA( "C:\winetest_mnt\", volume_name );