summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-04 19:40:34 -0500
committerDavid Robillard <d@drobilla.net>2018-01-06 13:37:08 -0500
commit9f0cf036644f5062791e95998b17c8979f64a411 (patch)
treec980e69c02e33ab4f9ea21fd25fea7b7ff6bf25c /src
parent8d0bd383166f7ef80d79c551f4b8a829881a8460 (diff)
downloadsord-9f0cf036644f5062791e95998b17c8979f64a411.tar.gz
sord-9f0cf036644f5062791e95998b17c8979f64a411.tar.bz2
sord-9f0cf036644f5062791e95998b17c8979f64a411.zip
Fix build with MSVC
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 6ab4f84..c23b2c1 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 += GSPO;
+ *order = (SordOrder)(*order + GSPO);
*n_prefix += 1;
}