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 /unix/tkUnixKey.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 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index ed77877..f422111 100644 --- a/unix/tkUnixKey.c +++ b/unix/tkUnixKey.c @@ -65,10 +65,10 @@ Tk_SetCaretPos( spot.x = dispPtr->caret.x; spot.y = dispPtr->caret.y + dispPtr->caret.height; - preedit_attr = XVaCreateNestedList(0, XNSpotLocation, &spot, (void *) NULL); + preedit_attr = XVaCreateNestedList(0, XNSpotLocation, &spot, NULL); XSetICValues(winPtr->inputContext, XNPreeditAttributes, preedit_attr, - (void *) NULL); + NULL); XFree(preedit_attr); } #endif |