summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericm <ericm>2000-04-11 21:42:12 (GMT)
committerericm <ericm>2000-04-11 21:42:12 (GMT)
commit5d6b5b17bd37274a62035b033fa5c58a0e408d0c (patch)
treef624b59f05afd5190e69690d63b38a0267c1a5e8
parent6778b65f1b617527d2402c8b78b3419fb2a7c502 (diff)
downloadtcl-5d6b5b17bd37274a62035b033fa5c58a0e408d0c.zip
tcl-5d6b5b17bd37274a62035b033fa5c58a0e408d0c.tar.gz
tcl-5d6b5b17bd37274a62035b033fa5c58a0e408d0c.tar.bz2
* win/tclWinPipe.c: Added "CONST" keyword to declaration of char
*native in TclpCreateTempFile, to supress compiler warnings.
-rw-r--r--win/tclWinPipe.c4
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;