Marcus Meissner : kernel32/tests: Fixed size to GetTempPathW.
Alexandre Julliard
julliard at winehq.org
Wed Aug 30 16:03:47 CDT 2017
Module: wine
Branch: master
Commit: 844b57e4d800bfb260c1694ed54a02b9f5ad1f47
URL: http://source.winehq.org/git/wine.git/?a=commit;h=844b57e4d800bfb260c1694ed54a02b9f5ad1f47
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Wed Aug 30 19:59:47 2017 +0200
kernel32/tests: Fixed size to GetTempPathW.
Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/module.c b/dlls/kernel32/tests/module.c
index bfe94b9..108d0cb 100644
--- a/dlls/kernel32/tests/module.c
+++ b/dlls/kernel32/tests/module.c
@@ -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 );
More information about the wine-cvs
mailing list