diff options
author | rusty <rusty> | 2001-01-07 06:54:51 +0000 |
---|---|---|
committer | rusty <rusty> | 2001-01-07 06:54:51 +0000 |
commit | 403378b1c078df43727c96c2c569d35c73c3277d (patch) | |
tree | 82420220e28234aaf6c97b763f1be33d6ec777ae | |
parent | a49c137fb15ac1e53decd833fefad2b633f94fdd (diff) |
Fix compile warning about const.
-rw-r--r-- | iptables-save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c index a97d448..2e716e1 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -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); |