diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | generic/tkStubLib.c | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2007-05-03 Donal K. Fellows <donal.k.fellows@man.ac.uk> + * generic/tkStubLib.c (Tk_InitStubs): + * generic/ttk/ttkLabel.c (LabelSetup): * unix/tkUnixSelect.c (ConvertSelection): * unix/tkUnixEvent.c (TkUnixDoOneXEvent): * generic/tkConfig.c (Tk_RestoreSavedOptions): diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c index 9409c07..2d2e995 100644 --- a/generic/tkStubLib.c +++ b/generic/tkStubLib.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: tkStubLib.c,v 1.12 2007/02/13 00:24:12 dkf Exp $ + * RCS: @(#) $Id: tkStubLib.c,v 1.13 2007/05/03 22:36:11 dkf Exp $ */ /* @@ -96,9 +96,10 @@ Tk_InitStubs( int exact) { CONST char *actualVersion; + TkStubs **stubsPtrPtr = &tkStubsPtr; /* squelch warning */ actualVersion = Tcl_PkgRequireEx(interp, "Tk", version, exact, - (ClientData *) &tkStubsPtr); + (ClientData *) stubsPtrPtr); if (!actualVersion) { return NULL; } |