coolkey: Fix the comparator return value
This commit is contained in:
parent
249e928176
commit
aa6d3e1d36
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue