diff options
author | nijtmans <nijtmans> | 2010-06-15 11:16:02 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-06-15 11:16:02 (GMT) |
commit | 811e43a148acb56886dcbf9b0092183c16966cf3 (patch) | |
tree | 377b18f7cb439e3eb421010182cff5c13fb0d3f6 /generic/tkCanvArc.c | |
parent | 74169f648996a1a44c2767f53e3fe57482665f3a (diff) | |
download | tk-811e43a148acb56886dcbf9b0092183c16966cf3.zip tk-811e43a148acb56886dcbf9b0092183c16966cf3.tar.gz tk-811e43a148acb56886dcbf9b0092183c16966cf3.tar.bz2 |
Eliminate many unnecessary (ClientData) type casts.
Diffstat (limited to 'generic/tkCanvArc.c')
-rw-r--r-- | generic/tkCanvArc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c index 96bc03c..22ab653 100644 --- a/generic/tkCanvArc.c +++ b/generic/tkCanvArc.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: tkCanvArc.c,v 1.22 2010/02/17 19:21:16 nijtmans Exp $ + * RCS: @(#) $Id: tkCanvArc.c,v 1.23 2010/06/15 11:16:03 nijtmans Exp $ */ #include "tkInt.h" @@ -86,22 +86,22 @@ static const char * StylePrintProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); static const Tk_CustomOption stateOption = { - TkStateParseProc, TkStatePrintProc, (ClientData) 2 + TkStateParseProc, TkStatePrintProc, INT2PTR(2) }; static const Tk_CustomOption styleOption = { - StyleParseProc, StylePrintProc, (ClientData) NULL + StyleParseProc, StylePrintProc, NULL }; static const Tk_CustomOption tagsOption = { - Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, (ClientData) NULL + Tk_CanvasTagsParseProc, Tk_CanvasTagsPrintProc, NULL }; static const Tk_CustomOption dashOption = { - TkCanvasDashParseProc, TkCanvasDashPrintProc, (ClientData) NULL + TkCanvasDashParseProc, TkCanvasDashPrintProc, NULL }; static const Tk_CustomOption offsetOption = { - TkOffsetParseProc, TkOffsetPrintProc, (ClientData) (TK_OFFSET_RELATIVE) + TkOffsetParseProc, TkOffsetPrintProc, INT2PTR(TK_OFFSET_RELATIVE) }; static const Tk_CustomOption pixelOption = { - TkPixelParseProc, TkPixelPrintProc, (ClientData) NULL + TkPixelParseProc, TkPixelPrintProc, NULL }; static const Tk_ConfigSpec configSpecs[] = { |