[PATCH 4/5] wined3d: Avoid LPCSTR.

Henri Verbeet hverbeet at codeweavers.com
Thu Sep 19 03:16:48 CDT 2013


---
 dlls/wined3d/wined3d_main.c |    4 ++--
 1 file 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;
-- 
1.7.10.4




More information about the wine-patches mailing list