From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Netfilter Developer Mailing List <netfilter-devel@lists.netfilter.org>
Subject: Re: u32 extension
Date: Wed, 19 Sep 2007 14:52:05 +0200 [thread overview]
Message-ID: <46F11B75.1040402@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0709151723500.23681@fbirervta.pbzchgretzou.qr>
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.
prev parent reply other threads:[~2007-09-19 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <46E50BE5.80401@trash.net>
2007-09-10 10:28 ` u32 extension Jan Engelhardt
2007-09-10 10:33 ` Patrick McHardy
2007-09-10 10:39 ` Jan Engelhardt
2007-09-15 15:28 ` Jan Engelhardt
2007-09-19 12:52 ` Patrick McHardy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F11B75.1040402@trash.net \
--to=kaber@trash.net \
--cc=jengelh@computergmbh.de \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).