summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sord.c b/src/sord.c
index c23b2c1..6ab4f84 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -549,7 +549,7 @@ static inline bool
sord_has_index(SordModel* model, SordOrder* order, int* n_prefix, bool graphs)
{
if (graphs) {
- *order = (SordOrder)(*order + GSPO);
+ *order += GSPO;
*n_prefix += 1;
}