diff options
| author | paco <paco@voltanet.io> | 2018-06-18 17:49:58 +0200 | 
|---|---|---|
| committer | paco <paco@voltanet.io> | 2018-06-18 17:52:56 +0200 | 
| commit | 2ec42b858c876dac100e939e7329eaec00f90962 (patch) | |
| tree | 97aeba509fadb56029c286f24b31ccaafabb4fb6 /tests/lib/test_graph.c | |
| parent | 6389e663e9b8971d5afa75d6afa18f5152c6de1b (diff) | |
babeld, lib, ospfd, tests: fmt fixes (cppcheck)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'tests/lib/test_graph.c')
| -rw-r--r-- | tests/lib/test_graph.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_graph.c b/tests/lib/test_graph.c index f21f8b793c..2801c48bc5 100644 --- a/tests/lib/test_graph.c +++ b/tests/lib/test_graph.c @@ -46,7 +46,7 @@ int main(int argc, char **argv)  	/* create vertices */  	for (unsigned int i = 0; i < NUMNODES; i++) { -		snprintf(names[i], sizeof(names[i]), "%d", i); +		snprintf(names[i], sizeof(names[i]), "%u", i);  		gn[i] = graph_new_node(g, names[i], NULL);  	}  | 
