summaryrefslogtreecommitdiff
path: root/src/gui_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 5e18e8517..374ed4725 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1667,7 +1667,7 @@ gui_mch_init(void)
HANDLE hIcon = NULL;
if (mch_icon_load(&hIcon) == OK && hIcon != NULL)
- SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, hIcon);
+ SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
}
#ifdef FEAT_MENU