diff options
author | Harald Welte <laforge@gnumonks.org> | 2005-07-19 22:03:49 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2005-07-19 22:03:49 +0000 |
commit | efa8fc2123a2a9fc229ab471edd2b2688ce1da3a (patch) | |
tree | 1cc39b4ef12a42c15e5a21c8fff5a700b3a1dd6b /extensions/libip6t_physdev.c | |
parent | daa1ef354deee764484c1494073b075859701971 (diff) |
get rid of numerous gcc-4 warnings
Diffstat (limited to 'extensions/libip6t_physdev.c')
-rw-r--r-- | extensions/libip6t_physdev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/libip6t_physdev.c b/extensions/libip6t_physdev.c index fb473470..e7fa22e9 100644 --- a/extensions/libip6t_physdev.c +++ b/extensions/libip6t_physdev.c @@ -53,7 +53,8 @@ parse(int c, char **argv, int invert, unsigned int *flags, if (*flags & IP6T_PHYSDEV_OP_IN) goto multiple_use; check_inverse(optarg, &invert, &optind, 0); - parse_interface(argv[optind-1], info->physindev, info->in_mask); + parse_interface(argv[optind-1], info->physindev, + (unsigned char *)info->in_mask); if (invert) info->invert |= IP6T_PHYSDEV_OP_IN; info->bitmask |= IP6T_PHYSDEV_OP_IN; @@ -65,7 +66,7 @@ parse(int c, char **argv, int invert, unsigned int *flags, goto multiple_use; check_inverse(optarg, &invert, &optind, 0); parse_interface(argv[optind-1], info->physoutdev, - info->out_mask); + (unsigned char *)info->out_mask); if (invert) info->invert |= IP6T_PHYSDEV_OP_OUT; info->bitmask |= IP6T_PHYSDEV_OP_OUT; |