diff options
| author | nijtmans <nijtmans> | 2010-03-16 16:18:35 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-03-16 16:18:35 (GMT) |
| commit | 4390a2ab890dc4164920c515c595c20c22541fa6 (patch) | |
| tree | 28a29bff39c724d9681bca5b764170877b5f14fe /win/tclWinChan.c | |
| parent | 11f20c7d8af733aff117dae8bb72475aa5056b9c (diff) | |
| download | tcl-4390a2ab890dc4164920c515c595c20c22541fa6.zip tcl-4390a2ab890dc4164920c515c595c20c22541fa6.tar.gz tcl-4390a2ab890dc4164920c515c595c20c22541fa6.tar.bz2 | |
don't cast away "const" without reason.
Diffstat (limited to 'win/tclWinChan.c')
| -rw-r--r-- | win/tclWinChan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index c2bddb9..6ab056d 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.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: tclWinChan.c,v 1.55 2010/01/10 22:58:39 nijtmans Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.56 2010/03/16 16:18:35 nijtmans Exp $ */ #include "tclWinInt.h" @@ -856,7 +856,7 @@ TclpOpenFileChannel( char channelName[16 + TCL_INTEGER_SPACE]; TclFile readFile = NULL, writeFile = NULL; - nativeName = (TCHAR *) Tcl_FSGetNativePath(pathPtr); + nativeName = (const TCHAR *) Tcl_FSGetNativePath(pathPtr); if (nativeName == NULL) { return NULL; } |
