summaryrefslogtreecommitdiffstats
path: root/generic
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 /generic
parente61b61a3f03fc95c9f9c7271fb705df4e84f31e0 (diff)
downloadtk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.zip
tk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.tar.gz
tk-dd0a64fd45a7fd8f6da652c02d01b49967931ad0.tar.bz2
Another pun warning
Diffstat (limited to 'generic')
-rw-r--r--generic/tkStubLib.c5
1 files changed, 3 insertions, 2 deletions
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;
}