summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvWind.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-06-15 11:16:02 (GMT)
committernijtmans <nijtmans>2010-06-15 11:16:02 (GMT)
commit1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892 (patch)
tree377b18f7cb439e3eb421010182cff5c13fb0d3f6 /generic/tkCanvWind.c
parent8aef287d1e78682504c84c81e646a42a6730939e (diff)
downloadtk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.zip
tk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.tar.gz
tk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.tar.bz2
Eliminate many unnecessary (ClientData) type casts.
Diffstat (limited to 'generic/tkCanvWind.c')
-rw-r--r--generic/tkCanvWind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvWind.c b/generic/tkCanvWind.c
index 031879f..c83860c 100644
--- a/generic/tkCanvWind.c
+++ b/generic/tkCanvWind.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvWind.c,v 1.22 2010/02/17 19:21:16 nijtmans Exp $
+ * RCS: @(#) $Id: tkCanvWind.c,v 1.23 2010/06/15 11:16:03 nijtmans Exp $
*/
#include "tkInt.h"
@@ -40,10 +40,10 @@ typedef struct WindowItem {
*/
static const Tk_CustomOption stateOption = {
- TkStateParseProc, TkStatePrintProc, (ClientData) 2
+ TkStateParseProc, TkStatePrintProc, INT2PTR(2)
};
static const Tk_CustomOption tagsOption = {
- Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, (ClientData) NULL
+ Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL
};
static const Tk_ConfigSpec configSpecs[] = {