ByteArray.st
changeset 1459 debce52d633b
parent 1458 81db6f019905
child 1472 abaa73dc0e9a
--- a/ByteArray.st	Mon Jun 10 19:26:24 1996 +0200
+++ b/ByteArray.st	Mon Jun 10 20:27:05 1996 +0200
@@ -1773,10 +1773,10 @@
         if (! ((int)dst & (sizeof(long)-1))) {
             ldst = (unsigned long *)dst;
             while (cnt > 16) {
-                *ldst = ~(*ldst);
-                *ldst = ~(*ldst);
-                *ldst = ~(*ldst);
-                *ldst = ~(*ldst);
+                ldst[0] = ~(ldst[0]);
+                ldst[1] = ~(ldst[1]);
+                ldst[2] = ~(ldst[2]);
+                ldst[3] = ~(ldst[3]);
                 ldst += 4;
                 cnt -= 16;
             }
@@ -2185,5 +2185,5 @@
 !ByteArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.64 1996-06-10 17:26:24 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.65 1996-06-10 18:27:05 cg Exp $'
 ! !