diff options
Diffstat (limited to 'src/model.c')
-rw-r--r-- | src/model.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model.c b/src/model.c index d9e399f6..dbf19cc8 100644 --- a/src/model.c +++ b/src/model.c @@ -110,9 +110,9 @@ serd_model_best_index(const SerdModel* model, { const bool graph_search = (pat[SERD_GRAPH] != 0); - const unsigned sig = ((pat[0] ? 1 : 0) * 0x100 + - (pat[1] ? 1 : 0) * 0x010 + - (pat[2] ? 1 : 0) * 0x001); + const unsigned sig = ((pat[0] ? 1U : 0U) * 0x100 + + (pat[1] ? 1U : 0U) * 0x010 + + (pat[2] ? 1U : 0U) * 0x001); SerdOrder good[2] = { (SerdOrder)-1, (SerdOrder)-1 }; |