diff options
author | nijtmans <nijtmans> | 2008-10-14 22:43:29 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-14 22:43:29 (GMT) |
commit | de27d1ee5e8ba5ad01354e36be8914a8303bf45d (patch) | |
tree | 97b4e007760939b802f2a8b16101f0e89c3e39c1 /win/tclWinChan.c | |
parent | 45c244cd8dcd109d144858140ce8c0c070c79f7e (diff) | |
download | tcl-de27d1ee5e8ba5ad01354e36be8914a8303bf45d.zip tcl-de27d1ee5e8ba5ad01354e36be8914a8303bf45d.tar.gz tcl-de27d1ee5e8ba5ad01354e36be8914a8303bf45d.tar.bz2 |
* win/tclWinChan.c: Fix minor compiler warnings when
* win/tclWinDde.c: compiling wit -Wwrite-strings
* win/tclWinInit.c:
* win/tclWinReg.c:
* win/tclWinSerial.c:
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 5d2a774..20f618d 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.51 2008/05/23 21:00:47 andreas_kupries Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.52 2008/10/14 22:43:30 nijtmans Exp $ */ #include "tclWinInt.h" @@ -1221,7 +1221,7 @@ TclpGetDefaultStdChannel( Tcl_Channel channel; HANDLE handle; int mode = -1; - char *bufMode = NULL; + const char *bufMode = NULL; DWORD handleId = (DWORD)INVALID_HANDLE_VALUE; /* Standard handle to retrieve. */ |