Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af55e722539fcdaf19548f38c16f0a560ea72837
Ticket: 219095ffffffffffffffffffffffffffffffffff
Patch to fix compile warnings in tclWinSerial.c
User & Date: nobody on 2000-10-26 01:10:38
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
  4. foundin changed to: "obsolete: 8.4a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to: "Patch to fix compile warnings in tclWinSerial.c"
  11. type changed to: "Bug"