summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-05-22 23:54:57 (GMT)
committerhobbs <hobbs>2000-05-22 23:54:57 (GMT)
commiteed1781d86e2396a379a40614eb728412b4f964d (patch)
treec828ba1c82eab5d0f3c1b9efa939befe9dceb545 /win/tclWinSerial.c
parent1398d3cfbabd232bc228e379bbd9c8e64ada239f (diff)
downloadtcl-eed1781d86e2396a379a40614eb728412b4f964d.zip
tcl-eed1781d86e2396a379a40614eb728412b4f964d.tar.gz
tcl-eed1781d86e2396a379a40614eb728412b4f964d.tar.bz2
* win/tclWinSerial.c: cast cleanup [Bug: 5626]
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index 8503ac2..500aff8 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -10,7 +10,7 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
* Changes by Rolf.Schroedter@dlr.de June 25-27, 1999
*
- * RCS: @(#) $Id: tclWinSerial.c,v 1.9 1999/11/24 20:55:17 hobbs Exp $
+ * RCS: @(#) $Id: tclWinSerial.c,v 1.10 2000/05/22 23:54:57 hobbs Exp $
*/
#include "tclWinInt.h"
@@ -1043,7 +1043,7 @@ SerialSetOptionProc(instanceData, interp, optionName, value)
{
SerialInfo *infoPtr;
DCB dcb;
- int len;
+ size_t len;
BOOL result;
Tcl_DString ds;
TCHAR *native;
@@ -1119,7 +1119,7 @@ SerialGetOptionProc(instanceData, interp, optionName, dsPtr)
{
SerialInfo *infoPtr;
DCB dcb;
- int len;
+ size_t len;
int valid = 0; /* flag if valid option parsed */
infoPtr = (SerialInfo *) instanceData;