diff options
author | dgp <dgp@users.sourceforge.net> | 2011-04-18 21:42:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-04-18 21:42:51 (GMT) |
commit | 80fb5aa775eab07d8730aaf6a50bfb1fe153aeee (patch) | |
tree | e842cb86065dd668b96d29fb3f1378a9e07696f4 /generic/tclConfig.c | |
parent | 2f5a7cc3a97a0677c0abed4e55789b14203de297 (diff) | |
parent | fcbe7394ea753c7d82eeefb2a7874c00198136df (diff) | |
download | tcl-80fb5aa775eab07d8730aaf6a50bfb1fe153aeee.zip tcl-80fb5aa775eab07d8730aaf6a50bfb1fe153aeee.tar.gz tcl-80fb5aa775eab07d8730aaf6a50bfb1fe153aeee.tar.bz2 |
Use ListRepPtr(.) and other cleanup.
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r-- | generic/tclConfig.c | 3 |
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; |