Index: patchlets/random/linux-2.6/net/ipv4/netfilter/ipt_random.c =================================================================== --- patchlets/random/linux-2.6/net/ipv4/netfilter/ipt_random.c (revision 4262) +++ patchlets/random/linux-2.6/net/ipv4/netfilter/ipt_random.c (working copy) @@ -52,7 +52,7 @@ if (matchsize != IPT_ALIGN(sizeof(struct ipt_rand_info))) { printk("ipt_random: matchsize %u != %u\n", matchsize, - IPT_ALIGN(sizeof(struct ipt_rand_info))); + (unsigned)IPT_ALIGN(sizeof(struct ipt_rand_info))); return 0; } Index: patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c =================================================================== --- patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c (revision 4262) +++ patchlets/random/linux-2.6/net/ipv6/netfilter/ip6t_random.c (working copy) @@ -25,8 +25,7 @@ const struct net_device *out, const void *matchinfo, int offset, - const void *hdr, - u_int16_t datalen, + unsigned int protoff, int *hotdrop) { /* Parameters from userspace */ @@ -55,7 +54,7 @@ if (matchsize != IP6T_ALIGN(sizeof(struct ip6t_rand_info))) { printk("ip6t_random: matchsize %u != %u\n", matchsize, - IP6T_ALIGN(sizeof(struct ip6t_rand_info))); + (unsigned)IP6T_ALIGN(sizeof(struct ip6t_rand_info))); return 0; }