summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord.c')
-rw-r--r--src/sord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sord.c b/src/sord.c
index f447627..4ca022f 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -1351,7 +1351,7 @@ sord_erase(SordModel* model, SordIter* iter)
if (zix_btree_remove(model->indices[i],
tup,
(void**)&quad,
- i == iter->order ? &iter->cur : NULL)) {
+ (SordOrder)i == iter->order ? &iter->cur : NULL)) {
return (i == 0) ? SERD_ERR_NOT_FOUND : SERD_ERR_INTERNAL;
}
}