Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-23
02:30 • Ticket [218803ffff] compiler error with tclCmdMZ.c status still Closed with ... artifact: 3d13e3f419 user: dgp
2000-10-26
08:29 • Closed ticket [218803ffff]. artifact: 2da4f37701 user: welch
01:05 • New ticket [218803ffff]. artifact: 2f672e3efd user: nobody

compiler error with tclCmdMZ.c

Closed / Fixed218803ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:44
OriginalBugID: 2173 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-07-16'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: redman
OS: Digital Unix
OSVersion: V4
Machine: Other
FixedDate: '1999-07-16'
FixedInVersion: 8.2b1
ClosedDate: '2000-10-25'


Name:
Roy Lane

ObservedBehavior:
line 1398:
    
            string1 = Tcl_GetByteArrayFromObj(objv[2], &length1);
    
    'string1' is declared "char*", but Tcl_GetByteArrayFromObj() returns
    "unsigned char*".  This results in a compiler warning.

Patch:
CMS File Comparison Utility
Files Compared By LANE On  3-JUN-1999 10:58:04
   (1)  CAG1$:[LANE.TCL.TEMP]TCLCMDMZ.C;2
   (2)  Element TCLCMDMZ.C Generation 4


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File CAG1$:[LANE.TCL.TEMP]TCLCMDMZ.C;2 Line 1398 (*** Patched Version ***)
      1)           string1 = (char*)Tcl_GetByteArrayFromObj(objv[2], &*

Element TCLCMDMZ.C(4) Line 1398 (V8.1.1 Version)
      2)           string1 = Tcl_GetByteArrayFromObj(objv[2], &length1*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

PatchFiles:
tclCmdMZ.c



Already fixed. 
-- 07/16/1999 redman
welch Closed ticket [218803ffff]. [History diff]2000-10-26 08:29:16
dgp Ticket [218803ffff]: 3 changes [History diff]2001-04-23 02:30:00
Log in (anonymous is fine) to add a comment.