Commit 7fae11e7 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Minor paranoia when logging channel info.

parent 50b68846
......@@ -976,7 +976,7 @@ dump_route_callback(struct babel_route *route, void *closure)
break;
if(k > 0)
channels[j++] = ',';
snprintf(channels + j, 100 - j, "%d", route->channels[k]);
snprintf(channels + j, 100 - j, "%u", (unsigned)route->channels[k]);
j = strlen(channels);
}
snprintf(channels + j, 100 - j, ")");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment