From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: u32 extension Date: Wed, 19 Sep 2007 14:52:05 +0200 Message-ID: <46F11B75.1040402@trash.net> References: <46E50BE5.80401@trash.net> <46E51D7D.9000003@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Netfilter Developer Mailing List To: Jan Engelhardt Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Jan Engelhardt wrote: > warning: format '%ld' expects type 'long int', but argument 3 has type 'int'. > > Oh well, oh well. Patch below. > === > > > With %u alone, you would get "but arg-start is long" warnings on x64. > With %lu, you would get "but arg-start is int" on x86. > Fix it up by explicitly deciding for one (%u and cast to unsigned int) > and using that. Applied, thanks Jan.