summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-28 16:42:04 -0500
committerDavid Robillard <d@drobilla.net>2017-12-29 12:30:55 -0500
commit16a16c20319bffa72cb69bb1425e2d8826419595 (patch)
treea977c213b5a195c954fc01c87794becbb29bf61a
parentb4d638dd57b3fd53e189c062fe3e6b1657c20a3f (diff)
downloadsord-16a16c20319bffa72cb69bb1425e2d8826419595.tar.gz
sord-16a16c20319bffa72cb69bb1425e2d8826419595.tar.bz2
sord-16a16c20319bffa72cb69bb1425e2d8826419595.zip
Remove pointless cast
-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;
}