diff options
author | stwo <stwo> | 2012-08-09 16:40:41 (GMT) |
---|---|---|
committer | stwo <stwo> | 2012-08-09 16:40:41 (GMT) |
commit | 8cba311ef8bb10eb2dfabe9f998f59345f0dc59d (patch) | |
tree | 5347ed6db43d87e11078a4b2a93649e2a15fa016 /generic/tkEvent.c | |
parent | 368f8da4f51fcf99a5f0cfbef12664e03f9a941c (diff) | |
download | tk-8cba311ef8bb10eb2dfabe9f998f59345f0dc59d.zip tk-8cba311ef8bb10eb2dfabe9f998f59345f0dc59d.tar.gz tk-8cba311ef8bb10eb2dfabe9f998f59345f0dc59d.tar.bz2 |
Remove useless (void *) casts introduced in checkin [b7a58eae61]. 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 7c41c22..03e7283 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -343,7 +343,7 @@ CreateXIC( preedit_attlist = XVaCreateNestedList(0, XNSpotLocation, &spot, XNFontSet, dispPtr->inputXfs, - (void *) NULL); + NULL); } winPtr->inputContext = XCreateIC(dispPtr->inputMethod, @@ -351,7 +351,7 @@ CreateXIC( XNClientWindow, winPtr->window, XNFocusWindow, winPtr->window, preedit_attname, preedit_attlist, - (void *) NULL); + NULL); if (preedit_attlist) { XFree(preedit_attlist); @@ -366,7 +366,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); |