ByteArray.st
changeset 2782 f97dbd085898
parent 2768 8827d8c188df
child 2866 0d1b10026aa8
--- a/ByteArray.st	Fri Jul 25 16:25:57 1997 +0200
+++ b/ByteArray.st	Fri Jul 25 18:37:27 1997 +0200
@@ -1315,8 +1315,8 @@
 		    srcp = __ByteArrayInstPtr(self)->ba_element + index1 - 1;
 
 #ifdef bcopy4
-                    if ((((unsigned)srcp & 3) == 0)
-                     && (((unsigned)dstp & 3) == 0)) {
+                    if ((((unsigned INT)srcp & 3) == 0)
+                     && (((unsigned INT)dstp & 3) == 0)) {
                         /* copy aligned part */
                         int nW = count >> 2;
 
@@ -1385,7 +1385,7 @@
 
 #ifdef memset4
 		if (count > 20) {
-		    while (((unsigned)dstp & 3) != 0) {
+		    while (((unsigned INT)dstp & 3) != 0) {
 			*dstp++ = value;
 			count--;
 		    }
@@ -1496,8 +1496,8 @@
 		}
 
 #ifdef bcopy4
-		if ((((unsigned)src & 3) == 0)
-		 && (((unsigned)dst & 3) == 0)) {
+		if ((((unsigned INT)src & 3) == 0)
+		 && (((unsigned INT)dst & 3) == 0)) {
 		    /* copy aligned part */
 		    int nW = count >> 2;
 
@@ -2321,5 +2321,5 @@
 !ByteArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.81 1997-07-22 15:41:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.82 1997-07-25 16:37:27 cg Exp $'
 ! !