[nftables libnl] libnl: use unsigned long for cache c_iarg[12]

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Wed Apr 8 06:18:17 CEST 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnl-nft.git;a=commit;h=faa013b79cf0a723c78bad6f61e679fcb61f110f
commit faa013b79cf0a723c78bad6f61e679fcb61f110f
Author:     Patrick McHardy <kaber at trash.net>
AuthorDate: Wed Apr 1 07:43:40 2009 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Apr 1 07:43:40 2009 +0200

    libnl: use unsigned long for cache c_iarg[12]
    
    Use unsigned long for the cache c_iargs to be able to pass pointer values
    to the dumping function.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  faa013b79cf0a723c78bad6f61e679fcb61f110f (commit)
      from  873298f4f89c74247dd35c1b66b0888a2f3c0984 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit faa013b79cf0a723c78bad6f61e679fcb61f110f
Author: Patrick McHardy <kaber at trash.net>
Date:   Wed Apr 1 07:43:40 2009 +0200

    libnl: use unsigned long for cache c_iarg[12]
    
    Use unsigned long for the cache c_iargs to be able to pass pointer values
    to the dumping function.
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>

-----------------------------------------------------------------------

 include/netlink-types.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Use unsigned long for the cache c_iargs to be able to pass pointer values
to the dumping function.

Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/include/netlink-types.h b/include/netlink-types.h
index 4ed8beb..e8b637c 100644
--- a/include/netlink-types.h
+++ b/include/netlink-types.h
@@ -75,8 +75,8 @@ struct nl_cache
 {
 	struct nl_list_head	c_items;
 	int			c_nitems;
-	int                     c_iarg1;
-	int                     c_iarg2;
+	unsigned long		c_iarg1;
+	unsigned long		c_iarg2;
 	struct nl_cache_ops *   c_ops;
 };
 



More information about the netfilter-cvslog mailing list