diff options
author | ericm <ericm@noemail.net> | 2000-04-11 21:42:11 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-04-11 21:42:11 (GMT) |
commit | f2530b6f426c63074d7b63b925195e3ad48b0edb (patch) | |
tree | f624b59f05afd5190e69690d63b38a0267c1a5e8 /win | |
parent | 3721c0b641f412c3d1a9f1817021f964195056ba (diff) | |
download | tcl-f2530b6f426c63074d7b63b925195e3ad48b0edb.zip tcl-f2530b6f426c63074d7b63b925195e3ad48b0edb.tar.gz tcl-f2530b6f426c63074d7b63b925195e3ad48b0edb.tar.bz2 |
* win/tclWinPipe.c: Added "CONST" keyword to declaration of char
*native in TclpCreateTempFile, to supress compiler warnings.
FossilOrigin-Name: abd92d8bbbd96ceec2218e05df127e1e4446c164
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 21f15c4..b21a692 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.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: tclWinPipe.c,v 1.10 2000/04/10 21:08:27 ericm Exp $ + * RCS: @(#) $Id: tclWinPipe.c,v 1.11 2000/04/11 21:42:12 ericm Exp $ */ #include "tclWinInt.h" @@ -692,7 +692,7 @@ TclpCreateTempFile(contents) CONST char *contents; /* String to write into temp file, or NULL. */ { WCHAR name[MAX_PATH]; - char *native; + CONST char *native; Tcl_DString dstring; HANDLE handle; |