X-Git-Url: http://developer.intra2net.com/git/?p=ipt_ACCOUNT;a=blobdiff_plain;f=linux%2Fnet%2Fipv4%2Fnetfilter%2Fipt_ACCOUNT.c;h=a9286eebde46d545b6f928eebb664c39ed997050;hp=cdba9fb49529c6a7998f2f8a3d384c589308555b;hb=1135d7cffb5d27ddb2cc1b3c5eb8ded65b738051;hpb=ad773892669e353436c8a9ac20bfbb9034417117 diff --git a/linux/net/ipv4/netfilter/ipt_ACCOUNT.c b/linux/net/ipv4/netfilter/ipt_ACCOUNT.c index cdba9fb..a9286ee 100644 --- a/linux/net/ipv4/netfilter/ipt_ACCOUNT.c +++ b/linux/net/ipv4/netfilter/ipt_ACCOUNT.c @@ -584,7 +584,7 @@ int ipt_account_handle_prepare_read_flush(char *tablename, unsigned int *count) return -1; /* Try to allocate memory */ - void *new_data_page = get_zeroed_page(GFP_ATOMIC); + void *new_data_page = (void*)get_zeroed_page(GFP_ATOMIC); if (!new_data_page) { printk("ACCOUNT: ipt_account_handle_prepare_read_flush(): Out of memory!\n");