removed warnings

svn path=/trunk/; revision=5495
This commit is contained in:
Martin Fuchs 2003-08-09 19:56:45 +00:00
parent 6d16724ea7
commit 2306a321ef
3 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ void explorer_show_frame(HWND hwndParent, int cmdshow)
// create main window
g_Globals._hMainWnd = Window::Create(WINDOW_CREATOR(MainFrame), 0,
(LPCTSTR)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW,
(LPCTSTR)(int)g_Globals._hframeClass, ResString(IDS_TITLE), WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
hwndParent, hMenuFrame);

View file

@ -320,7 +320,7 @@ int MainFrame::Command(int id, int code)
break;
case ID_EXECUTE: {
ExecuteDialog dlg = {{0}};
ExecuteDialog dlg = {{0}, 0};
if (DialogBoxParam(g_Globals._hInstance, MAKEINTRESOURCE(IDD_EXECUTE), _hwnd, ExecuteDialog::WndProg, (LPARAM)&dlg) == IDOK) {
HINSTANCE hinst = ShellExecute(_hwnd, NULL/*operation*/, dlg.cmd/*file*/, NULL/*parameters*/, NULL/*dir*/, dlg.cmdshow);