diff options
Diffstat (limited to 'test/btree_test.c')
-rw-r--r-- | test/btree_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/btree_test.c b/test/btree_test.c index 1b900fe..8d687dc 100644 --- a/test/btree_test.c +++ b/test/btree_test.c @@ -452,7 +452,7 @@ main(int argc, char** argv) } const unsigned n_tests = 3; - unsigned n_elems = (argc > 1) ? atol(argv[1]) : 524288U; + unsigned n_elems = (argc > 1) ? (unsigned)atol(argv[1]) : 524288u; printf("Running %u tests with %u elements", n_tests, n_elems); for (unsigned i = 0; i < n_tests; ++i) { |