From fece76a8ad9723b48e7b4d399ba39b63218afb6a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Nov 2020 23:52:24 +0100 Subject: Fix types Oof. How this got past me is anyone's guess. --- src/state.c | 4 ++-- 1 file 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; -- cgit v1.2.1