type casts
authorClaus Gittinger <cg@exept.de>
Sat, 26 Oct 1996 18:34:05 +0200
changeset 1823 51ffb7231437
parent 1822 e7b977512062
child 1824 71889773b28b
type casts
ExtStream.st
ExternalStream.st
--- a/ExtStream.st	Sat Oct 26 18:29:58 1996 +0200
+++ b/ExtStream.st	Sat Oct 26 18:34:05 1996 +0200
@@ -2514,7 +2514,7 @@
     int nread = 0, done = 0;
     unsigned char c, lastC, peekC;
     int ret;
-    char *bufferPtr = (char *)0;
+    unsigned char *bufferPtr = (unsigned char *)0;
     char fastBuffer[7000];
     REGISTER int index;
     int currSize, fastFlag;
@@ -2594,7 +2594,7 @@
 	 */
 	if ((index+2) >= currSize) {
 	    OBJ newBuffer;
-	    char *nbp;
+	    unsigned char *nbp;
 
 	    newBuffer = __MKEMPTYSTRING(currSize * 2);
 	    if (newBuffer == nil) {
@@ -3492,6 +3492,6 @@
 !ExternalStream  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Attic/ExtStream.st,v 1.111 1996-10-02 11:32:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Attic/ExtStream.st,v 1.112 1996-10-26 16:34:05 cg Exp $'
 ! !
 ExternalStream initialize!
--- a/ExternalStream.st	Sat Oct 26 18:29:58 1996 +0200
+++ b/ExternalStream.st	Sat Oct 26 18:34:05 1996 +0200
@@ -2514,7 +2514,7 @@
     int nread = 0, done = 0;
     unsigned char c, lastC, peekC;
     int ret;
-    char *bufferPtr = (char *)0;
+    unsigned char *bufferPtr = (unsigned char *)0;
     char fastBuffer[7000];
     REGISTER int index;
     int currSize, fastFlag;
@@ -2594,7 +2594,7 @@
 	 */
 	if ((index+2) >= currSize) {
 	    OBJ newBuffer;
-	    char *nbp;
+	    unsigned char *nbp;
 
 	    newBuffer = __MKEMPTYSTRING(currSize * 2);
 	    if (newBuffer == nil) {
@@ -3492,6 +3492,6 @@
 !ExternalStream  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.111 1996-10-02 11:32:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.112 1996-10-26 16:34:05 cg Exp $'
 ! !
 ExternalStream initialize!