small typecast fix for ip_tables.h
PATCH 1/1 small typecast fix for ip_tables.h
Hi,
attached is a patch to fix a typecast in ip_tables.h. (Found this one while experimenting with C++ compilation)
Cheers,
Thomas
ip_tables.h renamed from ip_tables.h.old +1 -1
@@ -300,7 +300,7 @@static __inline__struct ipt_entry_target *ipt_get_target (struct ipt_entry *e) { -return (void *)e + e->target_offset; +return (struct ipt_entry_target *)e + e->target_offset; }/* fn returns 0 to continue iteration */