diff options
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index 12b8fc8f8..9db79eacb 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -453,7 +453,7 @@ extern int ipaddr_list_or_flush(int argc, char **argv, int flush) | |||
453 | break; | 453 | break; |
454 | case 1: /* scope */ | 454 | case 1: /* scope */ |
455 | { | 455 | { |
456 | int scope = 0; | 456 | uint32_t scope = 0; |
457 | NEXT_ARG(); | 457 | NEXT_ARG(); |
458 | filter.scopemask = -1; | 458 | filter.scopemask = -1; |
459 | if (rtnl_rtscope_a2n(&scope, *argv)) { | 459 | if (rtnl_rtscope_a2n(&scope, *argv)) { |
@@ -713,7 +713,7 @@ static int ipaddr_modify(int cmd, int argc, char **argv) | |||
713 | } | 713 | } |
714 | case 5: /* scope */ | 714 | case 5: /* scope */ |
715 | { | 715 | { |
716 | int scope = 0; | 716 | uint32_t scope = 0; |
717 | NEXT_ARG(); | 717 | NEXT_ARG(); |
718 | if (rtnl_rtscope_a2n(&scope, *argv)) { | 718 | if (rtnl_rtscope_a2n(&scope, *argv)) { |
719 | invarg(*argv, "invalid scope value."); | 719 | invarg(*argv, "invalid scope value."); |