summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_LOG.c
diff options
context:
space:
mode:
authorMartin Josefsson <gandalf@wlug.westbo.se>2004-05-26 16:04:48 +0000
committerMartin Josefsson <gandalf@wlug.westbo.se>2004-05-26 16:04:48 +0000
commita28d495285ad7dd9f286d63958cf20d74eec6bcb (patch)
treebb98ee50030d4eb2757b490aad389e896f4db537 /extensions/libip6t_LOG.c
parent1eb0081027ee567e822b24377ea614e66c408ff2 (diff)
Get rid of some warnings when compiling 64bit.
Diffstat (limited to 'extensions/libip6t_LOG.c')
-rw-r--r--extensions/libip6t_LOG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_LOG.c b/extensions/libip6t_LOG.c
index 997e4393..74655af2 100644
--- a/extensions/libip6t_LOG.c
+++ b/extensions/libip6t_LOG.c
@@ -134,7 +134,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
if (strlen(optarg) > sizeof(loginfo->prefix) - 1)
exit_error(PARAMETER_PROBLEM,
"Maximum prefix length %u for --log-prefix",
- sizeof(loginfo->prefix) - 1);
+ (unsigned int)sizeof(loginfo->prefix) - 1);
strcpy(loginfo->prefix, optarg);
*flags |= IP6T_LOG_OPT_PREFIX;