summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_comment.c')
-rw-r--r--extensions/libxt_comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_comment.c b/extensions/libxt_comment.c
index a9325a5d..dba8bb24 100644
--- a/extensions/libxt_comment.c
+++ b/extensions/libxt_comment.c
@@ -86,7 +86,7 @@ comment_save(const void *ip, const struct xt_entry_match *match)
commentinfo->comment[XT_MAX_COMMENT_LEN-1] = '\0';
printf("--comment ");
- xtables_save_string((const char *)commentinfo->comment);
+ xtables_save_string(commentinfo->comment);
}
static struct xtables_match comment_match = {