diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-03-26 11:53:59 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-03-26 11:53:59 (GMT) |
commit | 0d7a57fc567f099dc8c77bc0a5d278ced70946d9 (patch) | |
tree | ab47b39e8bedb1021813e1161e79eb9a80359b53 /generic/tclCompExpr.c | |
parent | 9033bb3224bc4a81c96315455704bac2d109c860 (diff) | |
download | tcl-0d7a57fc567f099dc8c77bc0a5d278ced70946d9.zip tcl-0d7a57fc567f099dc8c77bc0a5d278ced70946d9.tar.gz tcl-0d7a57fc567f099dc8c77bc0a5d278ced70946d9.tar.bz2 |
Reduce the number of casts used to manage Tcl_Obj internal representations.
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index a07d6df..d1d7403 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -2152,7 +2152,7 @@ ExecConstantExprTree( TclInitByteCodeObj(byteCodeObj, envPtr); TclFreeCompileEnv(envPtr); TclStackFree(interp, envPtr); - byteCodePtr = (ByteCode *) byteCodeObj->internalRep.otherValuePtr; + byteCodePtr = byteCodeObj->internalRep.otherValuePtr; TclNRExecuteByteCode(interp, byteCodePtr); code = TclNRRunCallbacks(interp, TCL_OK, rootPtr); Tcl_DecrRefCount(byteCodeObj); |