diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-31 10:31:55 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-01-31 10:31:55 (GMT) |
commit | b1365753ed770d64350cd647d356303957726486 (patch) | |
tree | 93d16010bea954703aad736080cb17ea3af82b51 /generic/tclStringObj.c | |
parent | 03ea3754d7d90c98c30cdef147d051a67c0cfcf8 (diff) | |
parent | 36366e4583a297270cb0ea383a7adaf4c2d03352 (diff) | |
download | tcl-b1365753ed770d64350cd647d356303957726486.zip tcl-b1365753ed770d64350cd647d356303957726486.tar.gz tcl-b1365753ed770d64350cd647d356303957726486.tar.bz2 |
merge core-8-5-branch
FossilOrigin-Name: f9be79d94176fa1ebafa4f4e2fbce631e274882c
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r-- | generic/tclStringObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 04cf4ee..e495c2e 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -140,9 +140,9 @@ typedef struct String { #define stringAttemptRealloc(ptr, numChars) \ (String *) attemptckrealloc((ptr), (unsigned) STRING_SIZE(numChars) ) #define GET_STRING(objPtr) \ - ((String *) (objPtr)->internalRep.otherValuePtr) + ((String *) (objPtr)->internalRep.twoPtrValue.ptr1) #define SET_STRING(objPtr, stringPtr) \ - ((objPtr)->internalRep.otherValuePtr = (void *) (stringPtr)) + ((objPtr)->internalRep.twoPtrValue.ptr1 = (void *) (stringPtr)) /* * TCL STRING GROWTH ALGORITHM |