]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix compile warning about const.
authorRusty Russell <rusty@linuxcare.com.au>
Sun, 7 Jan 2001 06:54:51 +0000 (06:54 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 7 Jan 2001 06:54:51 +0000 (06:54 +0000)
iptables-save.c

index a97d4481fe95f83666934f9be230dbf9f79a4d70..2e716e1e50f52c8119a9193fa3dd6903c9b45a77 100644 (file)
@@ -175,7 +175,7 @@ static void print_rule(const struct ipt_entry *e,
        printf("-j %s ", iptc_get_target(e, h));
 
        /* Print targinfo part */
-       t = ipt_get_target(e);
+       t = ipt_get_target((struct ipt_entry *)e);
        if (t->u.user.name[0]) {
                struct iptables_target *target
                        = find_target(t->u.user.name, TRY_LOAD);