summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-05 20:39:01 -0400
committerDavid Robillard <d@drobilla.net>2022-07-17 17:31:56 -0400
commitc6f05ca4a012642012235e67da166f9833f6c56b (patch)
treea10f49e9e7d951ba34e2c19a64150b3065087e9e /src/sord.c
parent9abde85ec5ac5be7978c9d23aa7554e8aa37a74b (diff)
downloadsord-c6f05ca4a012642012235e67da166f9833f6c56b.tar.gz
sord-c6f05ca4a012642012235e67da166f9833f6c56b.tar.bz2
sord-c6f05ca4a012642012235e67da166f9833f6c56b.zip
Fix conversion warnings
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;
}
}