From: Jiri Benc <jbenc@xxxxxxx> Date: Mon, 16 Jul 2007 18:46:53 +0200 > net/mac80211/ieee80211.c: In function ieee80211_register_hw: > net/mac80211/ieee80211.c:4989: warning: comparison of distinct pointer types lacks a cast > > Fix by casting from size_t to unsigned as size of ieee80211_tx_status_rtap_hdr > structure will never be greater than that. > > Signed-off-by: Jiri Benc <jbenc@xxxxxxx> The macro "max_t" exists for these kinds of situations, please use it. :-) - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html