diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-05-26 16:04:48 +0000 |
---|---|---|
committer | Martin Josefsson <gandalf@wlug.westbo.se> | 2004-05-26 16:04:48 +0000 |
commit | a28d495285ad7dd9f286d63958cf20d74eec6bcb (patch) | |
tree | bb98ee50030d4eb2757b490aad389e896f4db537 /extensions/libip6t_LOG.c | |
parent | 1eb0081027ee567e822b24377ea614e66c408ff2 (diff) |
Get rid of some warnings when compiling 64bit.
Diffstat (limited to 'extensions/libip6t_LOG.c')
-rw-r--r-- | extensions/libip6t_LOG.c | 2 |
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; |