summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-05-31 12:58:09 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-05-31 12:58:09 (GMT)
commitbaf3d8356bd1bf4d2aea98685aac57ce93384251 (patch)
tree10391f16c9720b8b1c396b004dd3c8abda138203 /generic/tclExecute.c
parent95b74f4a398bd17b59c6dcb20becb853726f17d8 (diff)
downloadtcl-baf3d8356bd1bf4d2aea98685aac57ce93384251.zip
tcl-baf3d8356bd1bf4d2aea98685aac57ce93384251.tar.gz
tcl-baf3d8356bd1bf4d2aea98685aac57ce93384251.tar.bz2
Added casts to stop warnings with SUNWspro cc on Solaris8.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index f6ca674..3183ef2 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.24 2001/05/22 15:32:22 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.25 2001/05/31 12:58:09 dkf Exp $
*/
#include "tclInt.h"
@@ -2132,8 +2132,8 @@ TclExecuteByteCode(interp, codePtr)
*/
if ((valuePtr->typePtr == &tclByteArrayType) &&
(value2Ptr->typePtr == &tclByteArrayType)) {
- s1 = Tcl_GetByteArrayFromObj(valuePtr, &s1len);
- s2 = Tcl_GetByteArrayFromObj(value2Ptr, &s2len);
+ s1 = (char *) Tcl_GetByteArrayFromObj(valuePtr, &s1len);
+ s2 = (char *) Tcl_GetByteArrayFromObj(value2Ptr, &s2len);
iResult = memcmp(s1, s2,
(size_t) ((s1len < s2len) ? s1len : s2len));
} else {