Thread (1 message) 1 message, 1 author, 2007-07-16

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

From: David Miller <davem@davemloft.net>
Date: 2007-07-16 21:53:58
Also in: netdev

From: Jiri Benc <redacted>
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 <redacted>
The macro "max_t" exists for these kinds of situations, please
use it. :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help