[ros-diffs] [weiden] 27710: Fix warnings I introduced, forgot typecasts...

weiden at svn.reactos.org weiden at svn.reactos.org
Tue Jul 17 16:56:04 CEST 2007


Author: weiden
Date: Tue Jul 17 18:56:02 2007
New Revision: 27710

URL: http://svn.reactos.org/svn/reactos?rev=27710&view=rev
Log:
Fix warnings I introduced, forgot typecasts...

Modified:
    trunk/reactos/dll/win32/user32/windows/dialog.c

Modified: trunk/reactos/dll/win32/user32/windows/dialog.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/dialog.c?rev=27710&r1=27709&r2=27710&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/dialog.c (original)
+++ trunk/reactos/dll/win32/user32/windows/dialog.c Tue Jul 17 18:56:02 2007
@@ -734,7 +734,7 @@
 
     if (unicode)
     {
-        hwnd = User32CreateWindowEx(template.exStyle, template.className, template.caption,
+        hwnd = User32CreateWindowEx(template.exStyle, (LPCSTR)template.className, (LPCSTR)template.caption,
                                     template.style & ~WS_VISIBLE,
                                     rect.left, rect.top, rect.right, rect.bottom,
                                     owner, hMenu, hInst, NULL,




More information about the Ros-diffs mailing list