summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_owner.c
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-05-26 16:04:48 +0000
committergandalf <gandalf>2004-05-26 16:04:48 +0000
commitc5a2851e96afd3e06785551ab90eb1157407e6cb (patch)
treebb98ee50030d4eb2757b490aad389e896f4db537 /extensions/libipt_owner.c
parent74c5da055ef1239a504d4624a7e1a1e5e46a5cf0 (diff)
Get rid of some warnings when compiling 64bit.
Diffstat (limited to 'extensions/libipt_owner.c')
-rw-r--r--extensions/libipt_owner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_owner.c b/extensions/libipt_owner.c
index 9c92ab2..9d112cf 100644
--- a/extensions/libipt_owner.c
+++ b/extensions/libipt_owner.c
@@ -125,7 +125,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
case '5':
check_inverse(optarg, &invert, &optind, 0);
if(strlen(optarg) > sizeof(ownerinfo->comm))
- exit_error(PARAMETER_PROBLEM, "OWNER CMD `%s' too long, max %d characters", optarg, sizeof(ownerinfo->comm));
+ exit_error(PARAMETER_PROBLEM, "OWNER CMD `%s' too long, max %u characters", optarg, (unsigned int)sizeof(ownerinfo->comm));
strncpy(ownerinfo->comm, optarg, sizeof(ownerinfo->comm));
ownerinfo->comm[sizeof(ownerinfo->comm)-1] = '\0';