From: Oliver <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 5/6] ipset: Support comments in the userspace library.
Date: Thu, 19 Sep 2013 16:35:47 +0200 [thread overview]
Message-ID: <2453382.7aUm7cClMH@gentoovm> (raw)
In-Reply-To: <alpine.DEB.2.00.1309182022560.21599@blackhole.kfki.hu>
On Wednesday 18 September 2013 20:43:30 Jozsef Kadlecsik wrote:
> On Tue, 17 Sep 2013, Oliver wrote:
<snip>
> > diff --git a/lib/types.c b/lib/types.c
> > index adaba83..b95114f 100644
> > --- a/lib/types.c
> > +++ b/lib/types.c
> > @@ -607,7 +607,7 @@ ipset_load_types(void)
> >
> > len = snprintf(path, sizeof(path), "%.*s",
> >
> > (unsigned int)(next - dir), dir);
> >
> > - if (len >= sizeof(path) || len < 0)
> > + if (len >= (int)sizeof(path) || len < (int)0)
> >
> > continue;
> >
> > n = scandir(path, &list, NULL, alphasort);
> >
> > @@ -620,7 +620,7 @@ ipset_load_types(void)
> >
> > len = snprintf(file, sizeof(file), "%s/%s",
> >
> > path, list[n]->d_name);
> >
> > - if (len >= sizeof(file) || len < 0)
> > + if (len >= (int)sizeof(file) || len < (int)0)
> >
> > goto nextf;
> >
> > if (dlopen(file, RTLD_NOW) == NULL)
>
> I don't see why these two modifications are required.
Just to prevent a build failure in debug mode because warnings are treated as
errors and comparing an int to a size_t obviously makes it unhappy.
All other other changes you specified have been made. :)
Thanks,
Oliver.
next prev parent reply other threads:[~2013-09-19 14:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-17 13:13 [PATCH 0/6] Add new comments extension to ipset Oliver
2013-09-17 13:13 ` [PATCH 1/6] netfilter: ipset: Support comments for ipset entries in the core Oliver
2013-09-18 17:56 ` Jozsef Kadlecsik
2013-09-17 13:13 ` [PATCH 2/6] netfilter: ipset: Support comments in hash-type ipsets Oliver
2013-09-18 18:03 ` Jozsef Kadlecsik
2013-09-17 13:13 ` [PATCH 3/6] netfilter: ipset: Support comments in bitmap-type ipsets Oliver
2013-09-17 13:13 ` [PATCH 4/6] ipset: Rework the "fake" argument parsing for ipset restore Oliver
2013-09-18 18:22 ` Jozsef Kadlecsik
2013-09-19 14:56 ` Oliver
2013-09-17 13:13 ` [PATCH 5/6] ipset: Support comments in the userspace library Oliver
2013-09-18 18:43 ` Jozsef Kadlecsik
2013-09-18 18:49 ` Jozsef Kadlecsik
2013-09-19 14:35 ` Oliver [this message]
2013-09-19 18:37 ` Jozsef Kadlecsik
2013-09-20 7:15 ` Oliver
2013-09-17 13:13 ` [PATCH 6/6] ipset: Add new userspace set revisions for comment support Oliver
-- strict thread matches above, loose matches on Subject: below --
2013-09-02 6:35 [PATCH 0/6] Ipset comment extension - provide annotation of ipset entries Oliver
2013-09-02 6:35 ` [PATCH 5/6] ipset: Support comments in the userspace library Oliver
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=2453382.7aUm7cClMH@gentoovm \
--to=oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@vger.kernel.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).