diff --git a/sys/net/network_layer/fib/fib.c b/sys/net/network_layer/fib/fib.c
index 18bfc121d686dcfb9c8a48c8f8a8c884eb864289..d23950a9713c3db3a268fcc8af33ac1771ff3f33 100644
--- a/sys/net/network_layer/fib/fib.c
+++ b/sys/net/network_layer/fib/fib.c
@@ -1283,7 +1283,7 @@ int fib_sr_get_route(fib_table_t *table, uint8_t *dst, size_t dst_size, kernel_p
         }
 
         if( skip ) {
-            if((*fib_sr == &table->data.source_routes->headers[i])) {
+            if(*fib_sr == &table->data.source_routes->headers[i]) {
                 skip = false;
             }
             /* we skip all entries upon the consecutive one to start search */
diff --git a/sys/shell/commands/sc_netif.c b/sys/shell/commands/sc_netif.c
index 6c5e208f91c670ce8d6c035f4960629b90075813..adbb72bc672957027f0db7bede804c3b08f02a73 100644
--- a/sys/shell/commands/sc_netif.c
+++ b/sys/shell/commands/sc_netif.c
@@ -892,7 +892,7 @@ int _netif_config(int argc, char **argv)
                 gnrc_ipv6_netif_t *entry;
                 if (((hl = atoi(argv[3])) < 0) || (hl > UINT8_MAX)) {
                     printf("error: Hop limit must be between %" PRIu16 " and %" PRIu16 "\n",
-                            0, UINT16_MAX);
+                            (uint16_t)0, (uint16_t)UINT16_MAX);
                     return 1;
                 }
                 if ((entry = gnrc_ipv6_netif_get(dev)) == NULL) {