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:
parent
399fd55f5c
commit
844b57e4d8
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue