diff options
author | das <das> | 2002-01-18 03:22:31 (GMT) |
---|---|---|
committer | das <das> | 2002-01-18 03:22:31 (GMT) |
commit | cd728b4198f9384debed58dc7650a4e46b657237 (patch) | |
tree | 1dc5faca8a9c13b94076efdffe995dc3ebfe4dca /mac/tclMacChan.c | |
parent | 1979c67a816d1ee384f9c594443f80de15bb8f8f (diff) | |
download | tcl-cd728b4198f9384debed58dc7650a4e46b657237.zip tcl-cd728b4198f9384debed58dc7650a4e46b657237.tar.gz tcl-cd728b4198f9384debed58dc7650a4e46b657237.tar.bz2 |
* generic/tclThreadTest.c:
* mac/tclMacChan.c:
* mac/tclMacFCmd.c:
* mac/tclMacFile.c:
* mac/tclMacLoad.c:
* mac/tclMacResource.c: TIP 27 CONSTification broke the mac
build in a number of places.
Diffstat (limited to 'mac/tclMacChan.c')
-rw-r--r-- | mac/tclMacChan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mac/tclMacChan.c b/mac/tclMacChan.c index 0b36485..da74176 100644 --- a/mac/tclMacChan.c +++ b/mac/tclMacChan.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacChan.c,v 1.10 2002/01/15 21:19:07 dgp Exp $ + * RCS: @(#) $Id: tclMacChan.c,v 1.11 2002/01/18 03:22:36 das Exp $ */ #include "tclInt.h" @@ -558,7 +558,7 @@ StdIOOutput( *errorCode = 0; errno = 0; fd = (int) ((FileState*)instanceData)->fileRef; - written = write(fd, buf, (size_t) toWrite); + written = write(fd, (void*)buf, (size_t) toWrite); if (written > -1) { return written; } @@ -762,7 +762,7 @@ TclpOpenFileChannel( { Tcl_Channel chan; int mode; - char *native; + CONST char *native; int errorCode; mode = GetOpenMode(interp, modeString); |