kernel32/tests: Fixed size to GetTempPathW.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2017-08-30 19:59:47 +02:00 committed by Alexandre Julliard
parent 399fd55f5c
commit 844b57e4d8
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@ static void test_AddDllDirectory(void)
}
buf[0] = '\0';
GetTempPathW( sizeof(path), path );
GetTempPathW( sizeof(path)/sizeof(path[0]), path );
GetTempFileNameW( path, tmpW, 0, buf );
SetLastError( 0xdeadbeef );
cookie = pAddDllDirectory( buf );