diff options
author | stwo <stwo> | 2012-08-09 16:38:57 (GMT) |
---|---|---|
committer | stwo <stwo> | 2012-08-09 16:38:57 (GMT) |
commit | 4170dadb2c17a28bfbe04fcdba16d8e1038616df (patch) | |
tree | 897cee1f2335a38956040c0406b8177b81ac4c70 /generic/tkEvent.c | |
parent | b33639f20e412831ed8724517ba70b2cdab6be57 (diff) | |
download | tk-4170dadb2c17a28bfbe04fcdba16d8e1038616df.zip tk-4170dadb2c17a28bfbe04fcdba16d8e1038616df.tar.gz tk-4170dadb2c17a28bfbe04fcdba16d8e1038616df.tar.bz2 |
Remove useless (void *) casts introduced in checkin [81e50c85ed]. The warnings were false flags from a faulty OpenBSD C compiler.
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r-- | generic/tkEvent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c index dfa46ff..1fbf1dd 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -337,7 +337,7 @@ CreateXIC( preedit_attlist = XVaCreateNestedList(0, XNSpotLocation, &spot, XNFontSet, dispPtr->inputXfs, - (void *) NULL); + NULL); } winPtr->inputContext = XCreateIC(dispPtr->inputMethod, @@ -345,7 +345,7 @@ CreateXIC( XNClientWindow, winPtr->window, XNFocusWindow, winPtr->window, preedit_attname, preedit_attlist, - (void *) NULL); + NULL); if (preedit_attlist) { XFree(preedit_attlist); @@ -360,7 +360,7 @@ CreateXIC( /* * Adjust the window's event mask if the IM requires it. */ - XGetICValues(winPtr->inputContext, XNFilterEvents, &im_event_mask, (void *) NULL); + XGetICValues(winPtr->inputContext, XNFilterEvents, &im_event_mask, NULL); if ((winPtr->atts.event_mask & im_event_mask) != im_event_mask) { winPtr->atts.event_mask |= im_event_mask; XSelectInput(winPtr->display, winPtr->window, winPtr->atts.event_mask); |