WriteStream.st
changeset 8913 b9498d27a554
parent 8868 12ac754138b2
child 9311 5682c109e49f
--- a/WriteStream.st	Fri Jul 08 18:41:53 2005 +0200
+++ b/WriteStream.st	Fri Jul 08 19:15:03 2005 +0200
@@ -381,9 +381,9 @@
                     __StringInstPtr(coll)->s_element[pos-1] = ch;
 advancePositionAndReturn: ;            
                     if ((__readLimit >= 0) && (pos >= __readLimit)) {
-                        __INST(readLimit) = __MKSMALLINT(pos);
+                        __INST(readLimit) = __mkSmallInteger(pos);
                     }
-                    __INST(position) = __MKSMALLINT(__intVal(__INST(position)) + 1);
+                    __INST(position) = __mkSmallInteger(__intVal(__INST(position)) + 1);
                     RETURN ( anObject );
                 }
             } else if (cls == @global(ByteArray)) {
@@ -551,9 +551,9 @@
                     __StringInstPtr(coll)->s_element[pos-1] = ch;
     advancePositionAndReturn: ;            
                     if ((__readLimit >= 0) && (pos >= __readLimit)) {
-                        __INST(readLimit) = __MKSMALLINT(pos);
+                        __INST(readLimit) = __mkSmallInteger(pos);
                     }
-                    __INST(position) = __MKSMALLINT(__intVal(__INST(position)) + 1);
+                    __INST(position) = __mkSmallInteger(__intVal(__INST(position)) + 1);
                     RETURN ( anObject );
                 }
             } else if (cls == @global(ByteArray)) {
@@ -589,5 +589,5 @@
 !WriteStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/WriteStream.st,v 1.62 2005-04-26 08:41:17 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/WriteStream.st,v 1.63 2005-07-08 17:15:03 cg Exp $'
 ! !