kernel-2.4: (tomj) updated ipt_ACCOUNT module
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 11 May 2004 18:33:36 +0000 (18:33 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 11 May 2004 18:33:36 +0000 (18:33 +0000)
linux/net/ipv4/netfilter/ipt_ACCOUNT.c

index cdba9fb..a9286ee 100644 (file)
@@ -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");