X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fwin32%2Flibwin32%2FstatusDialog.cpp;h=e1ca04b367ce541c5b3bd44b8d177b4f196ebcf1;hb=556a569f47384641c001fe0e9b2ffec22d9e7a97;hp=f80b5c48886acaa4670467255fc7af77487b7cb9;hpb=217e5ed47147cd420ed0799a96868a561bfd6b57;p=bacula%2Fbacula diff --git a/bacula/src/win32/libwin32/statusDialog.cpp b/bacula/src/win32/libwin32/statusDialog.cpp index f80b5c4888..e1ca04b367 100644 --- a/bacula/src/win32/libwin32/statusDialog.cpp +++ b/bacula/src/win32/libwin32/statusDialog.cpp @@ -110,7 +110,7 @@ static void displayString(const char *msg, int len, void *context) if (*p == '\n') { SendMessage(statDlg->m_textWin, EM_SETSEL, (WPARAM)-1, (LPARAM)-1); - SendMessage(statDlg->m_textWin, EM_REPLACESEL, 0, (LONG)"\r\n"); + SendMessage(statDlg->m_textWin, EM_REPLACESEL, 0, (LPARAM)"\r\n"); } if (*p == '\0'){ @@ -149,7 +149,7 @@ void statusDialog::show(bool show) { if (show && !m_visible) { DialogBoxParam(appInstance, MAKEINTRESOURCE(IDD_STATUS), NULL, - (DLGPROC)dialogProc, (LONG)this); + (DLGPROC)dialogProc, (LPARAM)this); } }