Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Incompatible return type in generic/tclCmdGM.z at line 1398

Closed / Fixed218810ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:48
OriginalBugID: 2192 Bug
Version: 8.1.1
SubmitDate: '1999-06-07'
LastModified: '1999-07-16'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: redman
OS: Digital Unix
OSVersion: 4.0D
Machine: Other
FixedDate: '1999-07-16'
FixedInVersion: 8.2b1
ClosedDate: '2000-10-25'


Name:
Kevin S. Partin

CustomShell:
None.

ReproducibleScript:
On compiling Tcl v8.1.1 on Digital UNIX 4.0D using cc -std1, in the
    routine generic/tclCmdMZ.c at line 1398, the call to
    Tcl_GetByteArrayFromObj is wanting to return an unsigned char *, but the
    object to receive the value, string1, is declared as a char *.

DesiredBehavior:
Compatible data types on both sides of the assignment operator.



Calls now properly casted.
 
-- 07/16/1999 redman
welch Closed ticket [218810ffff]. [History diff]2000-10-26 08:29:16
dgp Ticket [218810ffff]: 3 changes [History diff]2001-04-23 02:35:59
Log in (anonymous is fine) to add a comment.