#1061 compile error on MacOS (at least)

obsolete: 8.2.1
closed-fixed
nobody
2
2001-04-18
2000-10-26
Anonymous
No

OriginalBugID: 3406 Bug
Version: 8.2.1
SubmitDate: '1999-11-05'
LastModified: '1999-11-10'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Macintosh
OSVersion: 8.6
FixedDate: '1999-11-10'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'

Name:
vince darley

CVS:
latest 8.3 alpha , tclCmdMZ.c,v 1.21

ReproducibleScript:
Compile error 'cannot convert char* to unsigned char*' on line 1112 of
tclCmdMZ.c:
Tcl_SetByteArrayObj(resultPtr, &string1[index], 1);
Should be replaced by:
Tcl_SetByteArrayObj(resultPtr, (unsigned char*)&string1[index], 1);

cast added in 8.2.2.
-- 11/10/1999 hobbs

Discussion

  • Brent B. Welch

    Brent B. Welch - 2000-10-26
    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2001-04-18
    • labels: 104246 --> 18. Commands M-Z