From f2bbc79cf7a47ca4b83cdf8834e40a7942956ad5 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Tue, 17 Jul 2007 14:56:02 +0000 Subject: [PATCH] Fix warnings I introduced, forgot typecasts... svn path=/trunk/; revision=27710 --- reactos/dll/win32/user32/windows/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/dialog.c b/reactos/dll/win32/user32/windows/dialog.c index b11edf443f7..7e8793a3d7c 100644 --- a/reactos/dll/win32/user32/windows/dialog.c +++ b/reactos/dll/win32/user32/windows/dialog.c @@ -734,7 +734,7 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate, 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,