diff options
Diffstat (limited to 'src/ult_src.c')
-rw-r--r-- | src/ult_src.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ult_src.c b/src/ult_src.c index c21aa51..130919f 100644 --- a/src/ult_src.c +++ b/src/ult_src.c @@ -289,8 +289,8 @@ static struct ult_key *ult_key_new (const char *name, int flags) static bool ATTRIBUTE_PURE ult_key_equals (const void *key1, const void *key2) { - struct ult_key *ukey1 = (struct ult_key *) key1; - struct ult_key *ukey2 = (struct ult_key *) key2; + const struct ult_key *ukey1 = (const struct ult_key *) key1; + const struct ult_key *ukey2 = (const struct ult_key *) key2; return ukey1->flags == ukey2->flags && STREQ (ukey1->name, ukey2->name); } |