diff options
-rw-r--r-- | generic/tclExecute.c | 6 | ||||
-rw-r--r-- | generic/tclIO.c | 4 |
2 files changed, 5 insertions, 5 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); diff --git a/generic/tclIO.c b/generic/tclIO.c index a7043bb..1b96c3b 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.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: tclIO.c,v 1.126 2007/11/07 23:52:21 hobbs Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.127 2007/11/08 07:10:44 das Exp $ */ #include "tclInt.h" @@ -4277,7 +4277,7 @@ TclGetsObjBinary( bufPtr = statePtr->inQueueTail; } - dst = RemovePoint(bufPtr); + dst = (unsigned char*) RemovePoint(bufPtr); dstEnd = dst + BytesLeft(bufPtr); /* |