summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-08 21:35:17 (GMT)
committernijtmans <nijtmans>2008-10-08 21:35:17 (GMT)
commit4ff44a77ace5e7a16b6a1313039cfa71a82d02f9 (patch)
tree5f5fc814bf93245e888ffecc16d6bd44e75a5cc0 /unix/tclUnixChan.c
parent3dac24314a5483f488d9d5255b7fb6bbeba91b3b (diff)
downloadtcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.zip
tcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.tar.gz
tcl-4ff44a77ace5e7a16b6a1313039cfa71a82d02f9.tar.bz2
* unix/tclUnixChan.c: fix minor compiler warning
* unix/tcl.m4: fix for bug [2073255] * unix/configure: regenerated
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 3e99c14..a80e7bb 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixChan.c,v 1.94 2008/08/05 23:47:12 jenglish Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.95 2008/10/08 21:35:17 nijtmans Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -2800,7 +2800,7 @@ TclpGetDefaultStdChannel(
Tcl_Channel channel = NULL;
int fd = 0; /* Initializations needed to prevent */
int mode = 0; /* compiler warning (used before set). */
- char *bufMode = NULL;
+ const char *bufMode = NULL;
/*
* Some #def's to make the code a little clearer!