summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-14 22:43:29 (GMT)
committernijtmans <nijtmans>2008-10-14 22:43:29 (GMT)
commitde27d1ee5e8ba5ad01354e36be8914a8303bf45d (patch)
tree97b4e007760939b802f2a8b16101f0e89c3e39c1 /win/tclWinSerial.c
parent45c244cd8dcd109d144858140ce8c0c070c79f7e (diff)
downloadtcl-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/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index 16a07af..9135d25 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -11,7 +11,7 @@
*
* Serial functionality implemented by Rolf.Schroedter@dlr.de
*
- * RCS: @(#) $Id: tclWinSerial.c,v 1.37 2008/04/27 22:21:37 dkf Exp $
+ * RCS: @(#) $Id: tclWinSerial.c,v 1.38 2008/10/14 22:43:29 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -2056,7 +2056,7 @@ SerialGetOptionProc(
}
if (len==0 || (len>2 && (strncmp(optionName, "-mode", len) == 0))) {
char parity;
- char *stop;
+ const char *stop;
char buf[2 * TCL_INTEGER_SPACE + 16];
if (!GetCommState(infoPtr->handle, &dcb)) {