diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/model_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_test.c b/tests/model_test.c index 952f8026..60dc4579 100644 --- a/tests/model_test.c +++ b/tests/model_test.c @@ -572,7 +572,7 @@ static int test_triple_index_read(SerdWorld* world, const size_t n_quads) { for (unsigned i = 0; i < 6; ++i) { - SerdModel* model = serd_model_new(world, (1 << i)); + SerdModel* model = serd_model_new(world, (1U << i)); generate(world, model, n_quads, 0); assert(!test_read(world, model, 0, n_quads)); serd_model_free(model); @@ -585,7 +585,7 @@ static int test_quad_index_read(SerdWorld* world, const size_t n_quads) { for (unsigned i = 0; i < 6; ++i) { - SerdModel* model = serd_model_new(world, (1 << i) | SERD_INDEX_GRAPHS); + SerdModel* model = serd_model_new(world, (1U << i) | SERD_INDEX_GRAPHS); const SerdNode* graph = uri(world, 42); generate(world, model, n_quads, graph); assert(!test_read(world, model, graph, n_quads)); |