src/list.c

changeset 802
30473af255b4
parent 776
874cc78cdffd
     1.1 --- a/src/list.c	Wed Jan 10 22:13:23 2024 +0100
     1.2 +++ b/src/list.c	Fri Jan 12 20:13:13 2024 +0100
     1.3 @@ -296,7 +296,7 @@
     1.4          // lists are definitely different - cannot use internal compare function
     1.5          if (list->size == other->size) {
     1.6              CxIterator left = list->cl->iterator(list, 0, false);
     1.7 -            CxIterator right = other->cl->iterator(list, 0, false);
     1.8 +            CxIterator right = other->cl->iterator(other, 0, false);
     1.9              for (size_t i = 0; i < list->size; i++) {
    1.10                  void *leftValue = cxIteratorCurrent(left);
    1.11                  void *rightValue = cxIteratorCurrent(right);

mercurial