Re: [PATCH] mac80211: fix GCC warning on 64bit platforms

2007-07-16 Thread David Miller
From: Jiri Benc <[EMAIL PROTECTED]> 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_t

[PATCH] mac80211: fix GCC warning on 64bit platforms

2007-07-16 Thread Jiri Benc
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 Ben