diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-08-17 23:53:41 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-08-17 23:53:41 +0000 |
commit | 6db456ba1d667580ea23c8cd9d83563de24e84e0 (patch) | |
tree | d4cea01978fac6b373a0a197d62fb6be7c386382 /epan/frequency-utils.c | |
parent | c7fd82dbbe2809e8583666e0f6daa3d812c0aa60 (diff) | |
download | wireshark-6db456ba1d667580ea23c8cd9d83563de24e84e0.tar.gz |
Fix a couple of signedness mismatches.
svn path=/trunk/; revision=22545
Diffstat (limited to 'epan/frequency-utils.c')
-rw-r--r-- | epan/frequency-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/frequency-utils.c b/epan/frequency-utils.c index aa04f1d4cf..1180835a37 100644 --- a/epan/frequency-utils.c +++ b/epan/frequency-utils.c @@ -54,7 +54,7 @@ static freq_cvt_t freq_cvt[] = { */ gint ieee80211_mhz_to_chan(guint freq) { - int i; + guint i; for (i = 0; i < NUM_FREQ_CVT; i++) { if (freq >= freq_cvt[i].fmin && freq <= freq_cvt[i].fmax) { @@ -69,7 +69,7 @@ ieee80211_mhz_to_chan(guint freq) { */ guint ieee80211_chan_to_mhz(gint chan, gboolean is_bg) { - int i; + guint i; for (i = 0; i < NUM_FREQ_CVT; i++) { if (is_bg == freq_cvt[i].is_bg && |