experiments/little-smalltalk/run.cc
changeset 432 527bdc1042a9
parent 431 97c12bf829d8
child 433 73fb551bd557
--- a/experiments/little-smalltalk/run.cc	Sat Aug 04 11:56:53 2018 +0100
+++ b/experiments/little-smalltalk/run.cc	Sat Aug 04 16:23:51 2018 +0100
@@ -610,7 +610,7 @@
   obj a = slotAt(args, 0);
   obj b = slotAt(args, 1);
   int alen = bytesCount(a);
-  int blen = bytesCount(a);
+  int blen = bytesCount(b);
   int minlen = alen < blen ? alen : blen;
   int result = memcmp(bvBytes(a), bvBytes(b), minlen);
   if (result == 0) {