From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: [PATCH 4/8] use is u_int32_t not unsigned int Date: Mon, 05 Dec 2005 12:21:05 +0100 Message-ID: <439422A1.2090307@netfilter.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090306050200070802020205" Cc: Patrick McHardy Return-path: To: Netfilter Development Mailinglist 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 This is a multi-part message in MIME format. --------------090306050200070802020205 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- The dawn of the fourth age of Linux firewalling is coming; a time of great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris --------------090306050200070802020205 Content-Type: text/plain; name="13.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="13.patch" Use u_int32_t instead of unsigned int. Signed-off-by: Pablo Neira Ayuso Index: netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c =================================================================== --- netfilter-2.6.14.git.orig/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-12-04 03:44:27.000000000 +0100 +++ netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-12-04 03:51:56.000000000 +0100 @@ -229,7 +229,7 @@ nfattr_failure: static inline int ctnetlink_dump_use(struct sk_buff *skb, const struct ip_conntrack *ct) { - unsigned int use = htonl(atomic_read(&ct->ct_general.use)); + u_int32_t use = htonl(atomic_read(&ct->ct_general.use)); NFA_PUT(skb, CTA_USE, sizeof(u_int32_t), &use); return 0; --------------090306050200070802020205--