diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-03-04 11:15:46 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-03-04 19:18:48 +0000 |
commit | 083ea63f107c5a83a347f4e895495dca8fabfc2b (patch) | |
tree | 870a58adeb800a4fdf907274f8e9091b07ae358f /ui/win32 | |
parent | 6a4049535a7ec9e5e175ffc18849b36125021a32 (diff) |
Add a cast.
Change-Id: Ib1885bcbe061942ecba55b90e6b1d9b20f033f41
Reviewed-on: https://code.wireshark.org/review/505
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/win32')
-rw-r--r-- | ui/win32/file_dlg_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c index f1f1d38cb0..a65aaf4d0f 100644 --- a/ui/win32/file_dlg_win32.c +++ b/ui/win32/file_dlg_win32.c @@ -1375,7 +1375,7 @@ open_file_hook_proc(HWND of_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { g_dfilter_str = filter_tb_get(cur_ctrl); cur_ctrl = GetDlgItem(of_hwnd, EWFD_FORMAT_TYPE); - g_format_type = SendMessage(cur_ctrl, CB_GETCURSEL, 0, 0); + g_format_type = (unsigned int) SendMessage(cur_ctrl, CB_GETCURSEL, 0, 0); /* Fetch our resolution values */ cur_ctrl = GetDlgItem(of_hwnd, EWFD_MAC_NR_CB); |