summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authormdejong <mdejong>2002-06-14 23:16:24 (GMT)
committermdejong <mdejong>2002-06-14 23:16:24 (GMT)
commit106118794d3d5487ec08b8e35700f3dde72a68b6 (patch)
tree7591ff64971735a15fa9cb12ed3a9ae5717b5596 /generic/tkBind.c
parentf0087c04ff1d6d57e223e70969157ce271424bc0 (diff)
downloadtk-106118794d3d5487ec08b8e35700f3dde72a68b6.zip
tk-106118794d3d5487ec08b8e35700f3dde72a68b6.tar.gz
tk-106118794d3d5487ec08b8e35700f3dde72a68b6.tar.bz2
* generic/tkBind.c (ExpandPercents): Cast argument to
Tk_GetAtomName in order to avoid compiler warning.
Diffstat (limited to 'generic/tkBind.c')
-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':