[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070716.145358.35015496.davem@davemloft.net>
Date: Mon, 16 Jul 2007 14:53:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...e.cz
Cc: linville@...driver.com, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] mac80211: fix GCC warning on 64bit platforms
From: Jiri Benc <jbenc@...e.cz>
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@...e.cz>
The macro "max_t" exists for these kinds of situations, please
use it. :-)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists