Dmitry Timoshkov : kernel32/tests: Fix FormatMessage tests compilation with __WINESRC__ defined.

Alexandre Julliard julliard at winehq.org
Mon Oct 21 14:58:25 CDT 2013


Module: wine
Branch: master
Commit: d44cc84381604fc0708caa366c6921a3e4a2910d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d44cc84381604fc0708caa366c6921a3e4a2910d

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Oct 21 17:01:59 2013 +0900

kernel32/tests: Fix FormatMessage tests compilation with __WINESRC__ defined.

---

 dlls/kernel32/tests/format_msg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c
index 005e6c4..e98e083 100644
--- a/dlls/kernel32/tests/format_msg.c
+++ b/dlls/kernel32/tests/format_msg.c
@@ -1543,7 +1543,7 @@ static void test_message_from_hmodule(void)
     HMODULE h;
     CHAR out[0x100] = {0};
 
-    h = GetModuleHandle("kernel32.dll");
+    h = GetModuleHandleA("kernel32.dll");
     ok(h != 0, "GetModuleHandle failed\n");
 
     /*Test existing messageID; as the message strings from wine's kernel32 differ from windows' kernel32 we don't compare




More information about the wine-cvs mailing list