From 1135d7cffb5d27ddb2cc1b3c5eb8ded65b738051 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 11 May 2004 18:33:36 +0000 Subject: [PATCH] kernel-2.4: (tomj) updated ipt_ACCOUNT module --- linux/net/ipv4/netfilter/ipt_ACCOUNT.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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"); -- 1.7.1