summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-03-26 11:53:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-03-26 11:53:59 (GMT)
commit0d7a57fc567f099dc8c77bc0a5d278ced70946d9 (patch)
treeab47b39e8bedb1021813e1161e79eb9a80359b53 /generic/tclObj.c
parent9033bb3224bc4a81c96315455704bac2d109c860 (diff)
downloadtcl-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/tclObj.c')
-rw-r--r--generic/tclObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 5fc8142..321ed67 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -4397,7 +4397,7 @@ SetCmdNameFromAny(
if (cmdPtr) {
cmdPtr->refCount++;
- resPtr = (ResolvedCmdName *) objPtr->internalRep.otherValuePtr;
+ resPtr = objPtr->internalRep.otherValuePtr;
if ((objPtr->typePtr == &tclCmdNameType)
&& resPtr && (resPtr->refCount == 1)) {
/*