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

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


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

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

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

---

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

diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index e36336c..4a730c7 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -534,7 +534,7 @@ static void test_HeapQueryInformation(void)
     SIZE_T size;
     BOOL ret;
 
-    pHeapQueryInformation = (void *)GetProcAddress(GetModuleHandle("kernel32.dll"), "HeapQueryInformation");
+    pHeapQueryInformation = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"), "HeapQueryInformation");
     if (!pHeapQueryInformation)
     {
         win_skip("HeapQueryInformation is not available\n");




More information about the wine-cvs mailing list