aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_test.c')
-rw-r--r--tests/model_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_test.c b/tests/model_test.c
index 37a43b6e..fc893794 100644
--- a/tests/model_test.c
+++ b/tests/model_test.c
@@ -599,7 +599,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);
@@ -612,7 +612,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));