summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordas <das>2007-11-08 07:10:43 (GMT)
committerdas <das>2007-11-08 07:10:43 (GMT)
commit308e1543528c471a0f8a4d2ba2f2683b79132992 (patch)
tree7d6818e6909c787d7f47211ba2d35375864aa638 /generic/tclExecute.c
parent4fca914732d118f26832a92324642c9172452f79 (diff)
downloadtcl-308e1543528c471a0f8a4d2ba2f2683b79132992.zip
tcl-308e1543528c471a0f8a4d2ba2f2683b79132992.tar.gz
tcl-308e1543528c471a0f8a4d2ba2f2683b79132992.tar.bz2
fix (unsigned char*) vs. (char*) warnings
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 6cac511..6f65c2a 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -13,7 +13,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.340 2007/11/08 00:50:31 hobbs Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.341 2007/11/08 07:10:43 das Exp $
*/
#include "tclInt.h"
@@ -4070,8 +4070,8 @@ TclExecuteByteCode(
string1 = Tcl_GetByteArrayFromObj(valuePtr, &length1);
string2 = Tcl_GetByteArrayFromObj(value2Ptr, &length2);
- match = TclByteArrayMatch(string1, length1, string2, length2,
- nocase);
+ match = TclByteArrayMatch((char*) string1, length1,
+ (char*) string2, length2, nocase);
} else {
match = Tcl_StringCaseMatch(TclGetString(valuePtr),
TclGetString(value2Ptr), nocase);