Commit 844b57e4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

kernel32/tests: Fixed size to GetTempPathW.

parent 399fd55f
...@@ -971,7 +971,7 @@ static void test_AddDllDirectory(void) ...@@ -971,7 +971,7 @@ static void test_AddDllDirectory(void)
} }
buf[0] = '\0'; buf[0] = '\0';
GetTempPathW( sizeof(path), path ); GetTempPathW( sizeof(path)/sizeof(path[0]), path );
GetTempFileNameW( path, tmpW, 0, buf ); GetTempFileNameW( path, tmpW, 0, buf );
SetLastError( 0xdeadbeef ); SetLastError( 0xdeadbeef );
cookie = pAddDllDirectory( buf ); cookie = pAddDllDirectory( buf );
......
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