summaryrefslogtreecommitdiffstats
path: root/generic/tkAtom.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-01-02 22:52:37 (GMT)
committerdkf <dkf@noemail.net>2010-01-02 22:52:37 (GMT)
commit6db65d6a223d09feb95a29115325570f79818ee4 (patch)
tree729b6fa569e8ee8448009d10292da7e7a85108b0 /generic/tkAtom.c
parentf4d6e4535e4bf2dc6676d7a68c13fb05d19769ed (diff)
downloadtk-6db65d6a223d09feb95a29115325570f79818ee4.zip
tk-6db65d6a223d09feb95a29115325570f79818ee4.tar.gz
tk-6db65d6a223d09feb95a29115325570f79818ee4.tar.bz2
SMALL FIX: Remove useless explicit casts now that we require C89 or later.
FossilOrigin-Name: 270544288f23a8c9f860bd4744422c376ee4b471
Diffstat (limited to 'generic/tkAtom.c')
-rw-r--r--generic/tkAtom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkAtom.c b/generic/tkAtom.c
index a9503c7..57e6923 100644
--- a/generic/tkAtom.c
+++ b/generic/tkAtom.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkAtom.c,v 1.11 2008/10/30 23:18:59 nijtmans Exp $
+ * RCS: @(#) $Id: tkAtom.c,v 1.12 2010/01/02 22:52:38 dkf Exp $
*/
#include "tkInt.h"
@@ -145,7 +145,7 @@ Tk_GetAtomName(
char *mustFree = NULL;
handler = Tk_CreateErrorHandler(dispPtr->display, BadAtom, -1, -1,
- NULL, (ClientData) NULL);
+ NULL, NULL);
name = mustFree = XGetAtomName(dispPtr->display, atom);
if (name == NULL) {
name = "?bad atom?";