Henri Verbeet : wined3d: Avoid LPCSTR.

Alexandre Julliard julliard at winehq.org
Thu Sep 19 17:21:01 CDT 2013


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Sep 19 10:16:48 2013 +0200

wined3d: Avoid LPCSTR.

---

 dlls/wined3d/wined3d_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index 65597fa..58acc11 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -158,8 +158,8 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
     wc.cbClsExtra           = 0;
     wc.cbWndExtra           = 0;
     wc.hInstance            = hInstDLL;
-    wc.hIcon                = LoadIconA(NULL, (LPCSTR)IDI_WINLOGO);
-    wc.hCursor              = LoadCursorA(NULL, (LPCSTR)IDC_ARROW);
+    wc.hIcon                = LoadIconA(NULL, (const char *)IDI_WINLOGO);
+    wc.hCursor              = LoadCursorA(NULL, (const char *)IDC_ARROW);
     wc.hbrBackground        = NULL;
     wc.lpszMenuName         = NULL;
     wc.lpszClassName        = WINED3D_OPENGL_WINDOW_CLASS_NAME;




More information about the wine-cvs mailing list