Author: sserapion
Date: Thu Jul 24 16:39:03 2008
New Revision: 34760
URL:
http://svn.reactos.org/svn/reactos?rev=34760&view=rev
Log:
Make notepad compile warning free.
Modified:
branches/ros-amd64-bringup/reactos/base/applications/notepad/dialog.c
Modified: branches/ros-amd64-bringup/reactos/base/applications/notepad/dialog.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/applications/notepad/dialog.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/applications/notepad/dialog.c [iso-8859-1] Thu
Jul 24 16:39:03 2008
@@ -475,7 +475,7 @@
OFN_HIDEREADONLY | OFN_EXPLORER | OFN_ENABLETEMPLATE | OFN_ENABLEHOOK;
saveas.lpstrDefExt = szDefaultExt;
saveas.lpTemplateName = MAKEINTRESOURCE(DIALOG_ENCODING);
- saveas.lpfnHook = DIALOG_FileSaveAs_Hook;
+ saveas.lpfnHook = (LPOFNHOOKPROC)DIALOG_FileSaveAs_Hook;
if (GetSaveFileName(&saveas)) {
SetFileName(szPath);
@@ -851,7 +851,7 @@
}
nLine = DialogBoxParam(Globals.hInstance, MAKEINTRESOURCE(DIALOG_GOTO),
- Globals.hMainWnd, DIALOG_GoTo_DialogProc, nLine);
+ Globals.hMainWnd, (DLGPROC)DIALOG_GoTo_DialogProc, nLine);
if (nLine >= 1)
{
@@ -981,7 +981,7 @@
VOID DIALOG_FilePageSetup(void)
{
DialogBox(Globals.hInstance, MAKEINTRESOURCE(DIALOG_PAGESETUP),
- Globals.hMainWnd, DIALOG_PAGESETUP_DlgProc);
+ Globals.hMainWnd, (DLGPROC)DIALOG_PAGESETUP_DlgProc);
}