diff options
author | nijtmans <nijtmans@noemail.net> | 2010-08-31 20:48:15 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-08-31 20:48:15 (GMT) |
commit | a784172ab84d2a2f7d22135449ffcd1e12691963 (patch) | |
tree | c5dcdf908c44f77ddfcc3bd0b202a6614a1b9d7a /generic/tclStubLib.c | |
parent | c4ba19c2572a339c7006f3dd7c2f570bb873331c (diff) | |
download | tcl-a784172ab84d2a2f7d22135449ffcd1e12691963.zip tcl-a784172ab84d2a2f7d22135449ffcd1e12691963.tar.gz tcl-a784172ab84d2a2f7d22135449ffcd1e12691963.tar.bz2 |
[Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.
Typo in rules.vc
FossilOrigin-Name: ea7f85f0787c4b9b90454119cf4147a01074a7d1
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r-- | generic/tclStubLib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c index db10cc8..0197741 100644 --- a/generic/tclStubLib.c +++ b/generic/tclStubLib.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStubLib.c,v 1.33 2010/08/30 13:49:28 nijtmans Exp $ + * RCS: @(#) $Id: tclStubLib.c,v 1.34 2010/08/31 20:48:17 nijtmans Exp $ */ /* @@ -84,7 +84,7 @@ Tcl_InitStubs( int exact) { const char *actualVersion = NULL; - const TclStubs *stubsPtr; + ClientData pkgData = NULL; /* * We can't optimize this check by caching tclStubsPtr because that @@ -97,7 +97,7 @@ Tcl_InitStubs( return NULL; } - actualVersion = Tcl_PkgRequireEx(interp, "Tcl", version, 0, &stubsPtr); + actualVersion = Tcl_PkgRequireEx(interp, "Tcl", version, 0, &pkgData); if (actualVersion == NULL) { return NULL; } @@ -127,7 +127,7 @@ Tcl_InitStubs( } } } - tclStubsPtr = stubsPtr; + tclStubsPtr = (TclStubs *) pkgData; if (tclStubsPtr->hooks) { tclPlatStubsPtr = tclStubsPtr->hooks->tclPlatStubs; |