diff options
author | stwo <stwo> | 2012-08-09 16:40:41 (GMT) |
---|---|---|
committer | stwo <stwo> | 2012-08-09 16:40:41 (GMT) |
commit | 60370012590a96ccb9b812f8688a0f8822c9883b (patch) | |
tree | 5347ed6db43d87e11078a4b2a93649e2a15fa016 /unix/tkUnixKey.c | |
parent | 6a53e1bcab0c83c50e6a686c0ac485687ff29b8f (diff) | |
download | tk-60370012590a96ccb9b812f8688a0f8822c9883b.zip tk-60370012590a96ccb9b812f8688a0f8822c9883b.tar.gz tk-60370012590a96ccb9b812f8688a0f8822c9883b.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 |