From 1656162835ef141b86f354cd9ed88cd51816c249 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 11 Sep 2019 20:47:29 +0200 Subject: [PATCH] shell_commands: gnrc_ipv6_nib: remove unnecessary cast --- sys/shell/commands/sc_gnrc_ipv6_nib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shell/commands/sc_gnrc_ipv6_nib.c b/sys/shell/commands/sc_gnrc_ipv6_nib.c index 594a68a550..3baf21c8f9 100644 --- a/sys/shell/commands/sc_gnrc_ipv6_nib.c +++ b/sys/shell/commands/sc_gnrc_ipv6_nib.c @@ -273,7 +273,7 @@ static int _nib_route(int argc, char **argv) return 1; } if (argc > 6) { - ltime = (uint16_t)atoi(argv[6]); + ltime = atoi(argv[6]); } gnrc_ipv6_nib_ft_add(&pfx, pfx_len, &next_hop, iface, ltime); }