Dmitry Timoshkov : user32/tests: Fix DCE tests compilation with __WINESRC__ defined.

Alexandre Julliard julliard at winehq.org
Wed Oct 23 15:51:03 CDT 2013


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Oct 23 14:53:30 2013 +0900

user32/tests: Fix DCE tests compilation with __WINESRC__ defined.

---

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

diff --git a/dlls/user32/tests/dce.c b/dlls/user32/tests/dce.c
index f75e6b3..78c1af2 100644
--- a/dlls/user32/tests/dce.c
+++ b/dlls/user32/tests/dce.c
@@ -581,7 +581,7 @@ START_TEST(dce)
     cls.cbWndExtra = 0;
     cls.hInstance = GetModuleHandleA(0);
     cls.hIcon = 0;
-    cls.hCursor = LoadCursorA(0, IDC_ARROW);
+    cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW);
     cls.hbrBackground = GetStockObject(WHITE_BRUSH);
     cls.lpszMenuName = NULL;
     cls.lpszClassName = "cache_class";




More information about the wine-cvs mailing list