summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-04-18 21:24:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-04-18 21:24:55 (GMT)
commit34bda55e3628476458e63d4495350e14672d01af (patch)
tree53f864fda1d78ab045b2d50062dfc0fb7b5c0efa /generic/tclConfig.c
parent50920cb27bda1113bd1e4edf637f4a6d03c8d63a (diff)
downloadtcl-34bda55e3628476458e63d4495350e14672d01af.zip
tcl-34bda55e3628476458e63d4495350e14672d01af.tar.gz
tcl-34bda55e3628476458e63d4495350e14672d01af.tar.bz2
Use ListRepPtr(.) and other cleanup.
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r--generic/tclConfig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index c91ee64..2ba1bd2 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -273,8 +273,7 @@ QueryConfigObjCmd(
}
if (n) {
- List *listRepPtr = (List *)
- listPtr->internalRep.twoPtrValue.ptr1;
+ List *listRepPtr = ListRepPtr(listPtr);
Tcl_DictSearch s;
Tcl_Obj *key, **vals;
int done, i = 0;