Mercurial > vim
comparison src/gui_w32.c @ 6260:74c65620c985 v7.4.464
updated for version 7.4.464
Problem: Compiler warning.
Solution: Add type cast. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 Oct 2014 18:10:09 +0200 |
parents | 7816c24ff890 |
children | 9f9058aeba0d |
comparison
equal
deleted
inserted
replaced
6259:bd18da914be9 | 6260:74c65620c985 |
---|---|
1665 /* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */ | 1665 /* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */ |
1666 { | 1666 { |
1667 HANDLE hIcon = NULL; | 1667 HANDLE hIcon = NULL; |
1668 | 1668 |
1669 if (mch_icon_load(&hIcon) == OK && hIcon != NULL) | 1669 if (mch_icon_load(&hIcon) == OK && hIcon != NULL) |
1670 SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, hIcon); | 1670 SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon); |
1671 } | 1671 } |
1672 | 1672 |
1673 #ifdef FEAT_MENU | 1673 #ifdef FEAT_MENU |
1674 s_menuBar = CreateMenu(); | 1674 s_menuBar = CreateMenu(); |
1675 #endif | 1675 #endif |