From 0ea82bc43e9262cdbb9880ca56bb514db4c77f8e Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Sat, 7 Jun 2008 15:15:29 +0200 Subject: sparse warning fixes: integer used as pointer Signed-off-by: Patrick McHardy --- iptables-restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables-restore.c') diff --git a/iptables-restore.c b/iptables-restore.c index 879683c5..4b199d94 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -124,9 +124,9 @@ main(int argc, char *argv[]) int c; char curtable[IPT_TABLE_MAXNAMELEN + 1]; FILE *in; - const char *modprobe = 0; + const char *modprobe = NULL; int in_table = 0, testing = 0; - const char *tablename = 0; + const char *tablename = NULL; program_name = "iptables-restore"; program_version = XTABLES_VERSION; -- cgit v1.2.3