Skip to content
Snippets Groups Projects
Commit 58de2cf1 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

Merge pull request #4280 from thomaseichinger/pr/fix_osx_again

net/fib: shell: fix warnings/errors thrown by clang on OS X
parents 85220e3e 32a2bacc
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment