summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authormdejong <mdejong>2002-06-14 23:16:24 (GMT)
committermdejong <mdejong>2002-06-14 23:16:24 (GMT)
commit61c62f106419e332d96db6be8eb3fa39fabeb00b (patch)
tree7591ff64971735a15fa9cb12ed3a9ae5717b5596 /generic
parent868175e26454eec7ae705c20c582249877eddbeb (diff)
downloadtk-61c62f106419e332d96db6be8eb3fa39fabeb00b.zip
tk-61c62f106419e332d96db6be8eb3fa39fabeb00b.tar.gz
tk-61c62f106419e332d96db6be8eb3fa39fabeb00b.tar.bz2
* generic/tkBind.c (ExpandPercents): Cast argument to
Tk_GetAtomName in order to avoid compiler warning.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 4ca6ca5..198eb92 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkBind.c,v 1.22 2002/06/14 22:25:12 jenglish Exp $
+ * RCS: @(#) $Id: tkBind.c,v 1.23 2002/06/14 23:16:24 mdejong Exp $
*/
#include "tkPort.h"
@@ -2558,7 +2558,7 @@ ExpandPercents(winPtr, before, eventPtr, keySym, dsPtr)
goto doNumber;
case 'P':
if (flags & PROP) {
- string = Tk_GetAtomName(winPtr, eventPtr->xproperty.atom);
+ string = Tk_GetAtomName((Tk_Window) winPtr, eventPtr->xproperty.atom);
}
goto doString;
case 'R':