summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-04-18 21:42:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-04-18 21:42:51 (GMT)
commitcf9cbf06ede2587aad27b49a23c04c5fd3a46940 (patch)
treee842cb86065dd668b96d29fb3f1378a9e07696f4 /generic/tclConfig.c
parent66a254dddfb0c618ee609c6bfab4a6549e098772 (diff)
parent34bda55e3628476458e63d4495350e14672d01af (diff)
downloadtcl-cf9cbf06ede2587aad27b49a23c04c5fd3a46940.zip
tcl-cf9cbf06ede2587aad27b49a23c04c5fd3a46940.tar.gz
tcl-cf9cbf06ede2587aad27b49a23c04c5fd3a46940.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 3ad5dfd..8f60b02 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -277,8 +277,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;