summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLibTbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclStubLibTbl.c')
-rw-r--r--generic/tclStubLibTbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubLibTbl.c b/generic/tclStubLibTbl.c
index 0391502..53680c5 100644
--- a/generic/tclStubLibTbl.c
+++ b/generic/tclStubLibTbl.c
@@ -32,9 +32,9 @@
MODULE_SCOPE const char *
TclInitStubTable(
const char *version) /* points to the version field of a
- TclStubInfoType structure variable. */
+ structure variable. */
{
- tclStubsPtr = ((const TclStubInfoType *) version)->stubs;
+ tclStubsPtr = ((const TclStubs **) version)[-1];
if (tclStubsPtr->hooks) {
tclPlatStubsPtr = tclStubsPtr->hooks->tclPlatStubs;