aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-02-09 13:42:51 -0500
committerBill Meier <wmeier@newsguy.com>2015-02-09 18:57:14 +0000
commite88a11f5c92938f0ed451703a3e1de34f76a5e50 (patch)
tree3c23b42e3d0c8db0724a160783c82fa184ecbebd /ui/win32
parent2078a95e934cf1063f2525a93b5f81ddb7b43e77 (diff)
(Trivial) Fix printf-related 'Mismatch on sign' warnings
Found by MSVC2013 Code Analysis Change-Id: I58063946dd558e98308c87b36eeac0ddbe1a6e79 Reviewed-on: https://code.wireshark.org/review/7045 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/win32')
-rw-r--r--ui/win32/file_dlg_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index 57a8aa0419..442ddac1c0 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -1942,7 +1942,7 @@ range_update_dynamics(HWND dlg_hwnd, packet_range_t *range) {
if (range->remove_ignored && g_cf->current_frame && g_cf->current_frame->flags.ignored) {
StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("0"));
} else {
- StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("%u"), selected_num ? 1 : 0);
+ StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("%d"), selected_num ? 1 : 0);
}
SetWindowText(cur_ctrl, static_val);
@@ -1951,7 +1951,7 @@ range_update_dynamics(HWND dlg_hwnd, packet_range_t *range) {
if (range->remove_ignored && g_cf->current_frame && g_cf->current_frame->flags.ignored) {
StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("0"));
} else {
- StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("%u"), selected_num ? 1 : 0);
+ StringCchPrintf(static_val, STATIC_LABEL_CHARS, _T("%d"), selected_num ? 1 : 0);
}
SetWindowText(cur_ctrl, static_val);