summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-11 23:52:24 +0100
committerDavid Robillard <d@drobilla.net>2020-11-11 23:52:24 +0100
commitfece76a8ad9723b48e7b4d399ba39b63218afb6a (patch)
tree94f3e2fcdef0758c5ae354dfa8a23d93ee328b62
parent57137bcbee853e8924631f20cb4e3e9a64fd84ba (diff)
downloadlilv-fece76a8ad9723b48e7b4d399ba39b63218afb6a.tar.gz
lilv-fece76a8ad9723b48e7b4d399ba39b63218afb6a.tar.bz2
lilv-fece76a8ad9723b48e7b4d399ba39b63218afb6a.zip
Fix types
Oof. How this got past me is anyone's guess.
-rw-r--r--src/state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c
index 3591f25..010abe5 100644
--- a/src/state.c
+++ b/src/state.c
@@ -95,8 +95,8 @@ rel_cmp(const void* a, const void* b, void* user_data)
static int
property_cmp(const void* a, const void* b)
{
- const Property* const a_key = ((const Property*)a)->key;
- const Property* const b_key = ((const Property*)b)->key;
+ const uint32_t a_key = ((const Property*)a)->key;
+ const uint32_t b_key = ((const Property*)b)->key;
if (a_key < b_key) {
return -1;