Fix warnings I introduced, forgot typecasts...

svn path=/trunk/; revision=27710
This commit is contained in:
Thomas Bluemel 2007-07-17 14:56:02 +00:00
parent 532d977072
commit f2bbc79cf7

View file

@ -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,