minstrel_ht: make *idx unsigned in minstrel_downgrade_rate
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 15:18:38 +0000 (11:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:41:26 +0000 (15:41 -0400)
commitd5ece2150a8a1715fea3272e057c45d98edb78ea
tree4ac89debcf68bed833b2913f61c1d4d75c1a7587
parent292b4df62a5a05a077269535d24eaabc8831c79d
minstrel_ht: make *idx unsigned in minstrel_downgrade_rate

net/mac80211/rc80211_minstrel_ht.c:440:46: warning: incorrect type in argument 2 (different signedness)
net/mac80211/rc80211_minstrel_ht.c:440:46:    expected int *idx
net/mac80211/rc80211_minstrel_ht.c:440:46:    got unsigned int *<noident>
net/mac80211/rc80211_minstrel_ht.c:446:46: warning: incorrect type in argument 2 (different signedness)
net/mac80211/rc80211_minstrel_ht.c:446:46:    expected int *idx
net/mac80211/rc80211_minstrel_ht.c:446:46:    got unsigned int *<noident>

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
net/mac80211/rc80211_minstrel_ht.c