summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-11 14:47:12 (GMT)
committernijtmans <nijtmans>2010-05-11 14:47:12 (GMT)
commitde40abc6da2cdfe574bf281fbaf84fa03a7f619d (patch)
treeb910b870b64085996a0a4be0be3eb7bcd33ad0c4 /win/tclWinSerial.c
parent4d121f611d686f514965d65ee8fc91fb882824e3 (diff)
downloadtcl-de40abc6da2cdfe574bf281fbaf84fa03a7f619d.zip
tcl-de40abc6da2cdfe574bf281fbaf84fa03a7f619d.tar.gz
tcl-de40abc6da2cdfe574bf281fbaf84fa03a7f619d.tar.bz2
Unnecessary type casts, See Tcl [Patch #2997087]
Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
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 f05207f..34bbf9c 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.42 2010/02/15 22:56:19 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinSerial.c,v 1.43 2010/05/11 14:47:12 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -1506,7 +1506,7 @@ TclWinOpenSerialChannel(
wsprintfA(channelName, "file%lx", (int) infoPtr);
infoPtr->channel = Tcl_CreateChannel(&serialChannelType, channelName,
- (ClientData) infoPtr, permissions);
+ infoPtr, permissions);
SetupComm(handle, infoPtr->sysBufRead, infoPtr->sysBufWrite);