summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-22 11:40:31 (GMT)
committernijtmans <nijtmans>2010-04-22 11:40:31 (GMT)
commit4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de (patch)
treeb4c7c5b00f25f4e8cf1882d5b5e88eb39f9d3799 /win/tclWinChan.c
parent833ea84043d927c416802983797aa3884a894012 (diff)
downloadtcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.zip
tcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.tar.gz
tcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.tar.bz2
Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)
Eliminate various unnecessary type casts.
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index 6ab056d..400fb64 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.56 2010/03/16 16:18:35 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinChan.c,v 1.57 2010/04/22 11:40:32 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -856,7 +856,7 @@ TclpOpenFileChannel(
char channelName[16 + TCL_INTEGER_SPACE];
TclFile readFile = NULL, writeFile = NULL;
- nativeName = (const TCHAR *) Tcl_FSGetNativePath(pathPtr);
+ nativeName = Tcl_FSGetNativePath(pathPtr);
if (nativeName == NULL) {
return NULL;
}