]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/libwin32/statusDialog.cpp
ebl use LPARAM instead of LONG for cast
[bacula/bacula] / bacula / src / win32 / libwin32 / statusDialog.cpp
index f80b5c48886acaa4670467255fc7af77487b7cb9..e1ca04b367ce541c5b3bd44b8d177b4f196ebcf1 100644 (file)
@@ -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);
    }
 }