summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-02-01 15:32:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-02-01 15:32:19 (GMT)
commit6f1c949a42ef60692258e34a5dbb8b920d76be23 (patch)
tree0f9df16696586fa30ee3529c7c4cc598a6318a76 /generic/tclIO.c
parente566dc080bf933404305587e4290769e7e620460 (diff)
parent1153a9400bcdb471e1475c0e40dcf722dd5afc1a (diff)
downloadtcl-6f1c949a42ef60692258e34a5dbb8b920d76be23.zip
tcl-6f1c949a42ef60692258e34a5dbb8b920d76be23.tar.gz
tcl-6f1c949a42ef60692258e34a5dbb8b920d76be23.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 715c1ef..f340d59 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -221,9 +221,9 @@ static const Tcl_ObjType tclChannelType = {
};
#define GET_CHANNELSTATE(objPtr) \
- ((ChannelState *) (objPtr)->internalRep.otherValuePtr)
+ ((ChannelState *) (objPtr)->internalRep.twoPtrValue.ptr1)
#define SET_CHANNELSTATE(objPtr, storePtr) \
- ((objPtr)->internalRep.otherValuePtr = (void *) (storePtr))
+ ((objPtr)->internalRep.twoPtrValue.ptr1 = (void *) (storePtr))
#define GET_CHANNELINTERP(objPtr) \
((Interp *) (objPtr)->internalRep.twoPtrValue.ptr2)
#define SET_CHANNELINTERP(objPtr, storePtr) \