coolkey: Fix the comparator return value

This commit is contained in:
Jakub Jelen 2019-11-29 15:44:22 +01:00 committed by Frank Morgner
parent 249e928176
commit aa6d3e1d36
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ coolkey_compare_id(const void * a, const void *b)
if (a == NULL || b == NULL)
return 1;
return ((sc_cardctl_coolkey_object_t *)a)->id
== ((sc_cardctl_coolkey_object_t *)b)->id;
!= ((sc_cardctl_coolkey_object_t *)b)->id;
}
/* For SimCList autocopy, we need to know the size of the data elements */