Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:52 • Ticket [219095ffff] Patch to fix compile warnings in tclWinSerial.c status s... artifact: bb830cb106 user: dgp
2000-10-26
08:34 • Closed ticket [219095ffff]. artifact: 259ddfe2ef user: welch
01:10 • New ticket [219095ffff]. artifact: af55e72253 user: nobody

Patch to fix compile warnings in tclWinSerial.c

Closed / Fixed219095ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:10:38
OriginalBugID: 5626 Bug
Version: 8.4a1
SubmitDate: '2000-05-22'
LastModified: '2000-05-22'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Linux
FixedDate: '2000-05-22'
FixedInVersion: 8.4a1
ClosedDate: '2000-10-25'


Name:

Mo DeJong



CVS:

Fri May 19



ObservedBehavior:

Tcl does not compile cleanly.



DesiredBehavior:

I would like tcl to compile cleanly.



Patch:

Index: win/tclWinSerial.c

===================================================================

RCS file: /cvsroot/tcl/win/tclWinSerial.c,v

retrieving revision 1.9

diff -u -r1.9 tclWinSerial.c

--- tclWinSerial.c      1999/11/24 20:55:17     1.9

+++ tclWinSerial.c      2000/05/20 01:09:57

@@ -1043,7 +1043,7 @@

 {

     SerialInfo *infoPtr;

     DCB dcb;

-    int len;

+    size_t len;

     BOOL result;

     Tcl_DString ds;

     TCHAR *native;

@@ -1119,7 +1119,7 @@

 {

     SerialInfo *infoPtr;

     DCB dcb;

-    int len;

+    size_t len;

     int valid = 0;  /* flag if valid option parsed */

 

     infoPtr = (SerialInfo *) instanceData;



PatchFiles:

win/tclWinSerial.c





Patched as noted for 8.4a1.  Note that this is only a gcc/Windows
error, as full warning mode doesn't complain about any of the changes
in reports 5624-5627. 
-- 05/22/2000 hobbs
welch Closed ticket [219095ffff]. [History diff]2000-10-26 08:34:56
dgp Ticket [219095ffff]: 3 changes [History diff]2001-04-05 06:52:46
Log in (anonymous is fine) to add a comment.