]> err.no Git - linux-2.6/commitdiff
[NETFILTER]: ctnetlink: use u_int32_t instead of unsigned int
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 5 Jan 2006 20:17:50 +0000 (12:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2006 20:17:50 +0000 (12:17 -0800)
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c

index 5e9affdd0dbee926ee0f00c31f80219193ef0aba..faa027ba687e05fc425f3c1988b04770c050054c 100644 (file)
@@ -230,7 +230,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;