From 9f0cf036644f5062791e95998b17c8979f64a411 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Jan 2018 19:40:34 -0500 Subject: Fix build with MSVC --- src/sord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sord.c') 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; } -- cgit v1.2.1