[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091210.140843.142337259.davem@davemloft.net>
Date: Thu, 10 Dec 2009 14:08:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jengelh@...ozas.de
Cc: chavey@...gle.com, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, eric.dumazet@...il.com,
akpm@...gle.com
Subject: Re: [PATCH] netfilter: Fix compiler warning.
From: Jan Engelhardt <jengelh@...ozas.de>
Date: Thu, 10 Dec 2009 23:06:32 +0100 (CET)
>
> On Donnerstag 2009-12-10 22:44, chavey@...gle.com wrote:
>
>>Fix compiler warning "discards qualifiers from pointer target type",
>>by allowing explicit discard of const qualifier thru type casting.
>>The const_cast() macro is taken from a patch from Kaveh R. Ghazi
>
> Uhm, I am not getting any warning on xt_time with either gcc-4.4.1
> or gcc-4.5_20091126, so what case are we actually trying to fix?
I get this warning with gcc-4.3.x all the time.
--
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