summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-05-03 22:36:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-05-03 22:36:11 (GMT)
commitdd0a64fd45a7fd8f6da652c02d01b49967931ad0 (patch)
tree8ab0357864bfaccf72b53c443744e049b82a3de8
parente61b61a3f03fc95c9f9c7271fb705df4e84f31e0 (diff)
downloadtk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.zip
tk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.tar.gz
tk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.tar.bz2
Another pun warning
-rw-r--r--ChangeLog2
-rw-r--r--generic/tkStubLib.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fea7fbc..5f481b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}