# HG changeset patch # User Mike Becker # Date 1705086793 -3600 # Node ID 30473af255b4cb2288bdb01312247123e9fa941b # Parent 04aa3913c0e3fc7d58a4f923ecf2bf9fad055757 fix #356 : broken cxListCompare diff -r 04aa3913c0e3 -r 30473af255b4 src/list.c --- a/src/list.c Wed Jan 10 22:13:23 2024 +0100 +++ b/src/list.c Fri Jan 12 20:13:13 2024 +0100 @@ -296,7 +296,7 @@ // lists are definitely different - cannot use internal compare function if (list->size == other->size) { CxIterator left = list->cl->iterator(list, 0, false); - CxIterator right = other->cl->iterator(list, 0, false); + CxIterator right = other->cl->iterator(other, 0, false); for (size_t i = 0; i < list->size; i++) { void *leftValue = cxIteratorCurrent(left); void *rightValue = cxIteratorCurrent(right);