Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux