summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorGökhan Özeloğlu <gozeloglu@gmail.com>2020-11-29 19:09:21 +0000
committerTor Lillqvist <tml@collabora.com>2020-12-03 23:35:48 +0100
commit561e5559bb68242c7f785f0ca3bee3eb12b58963 (patch)
tree4b7ae8aeb3130904ebffd6bac9dafd4dec2d9afd /onlineupdate
parentf0878173e1963cf8db5f60ced6d19da24e18bc41 (diff)
tdf#96505: Get rid of cargo cult long integer literals
Change-Id: I7226f93a87e0b31634a3c0942f3f5ec8778161fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106843 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/update/updater/progressui_win.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/onlineupdate/source/update/updater/progressui_win.cxx b/onlineupdate/source/update/updater/progressui_win.cxx
index 0b8017823486..7ef23cfabfdf 100644
--- a/onlineupdate/source/update/updater/progressui_win.cxx
+++ b/onlineupdate/source/update/updater/progressui_win.cxx
@@ -67,7 +67,7 @@ UpdateDialog(HWND hDlg)
{
int pos = int(sProgress + 0.5f);
HWND hWndPro = GetDlgItem(hDlg, IDC_PROGRESS);
- SendMessage(hWndPro, PBM_SETPOS, pos, 0L);
+ SendMessage(hWndPro, PBM_SETPOS, pos, 0);
}
// The code in this function is from MSDN: