diff options
author | stwo <stwo@noemail.net> | 2012-08-09 16:40:41 (GMT) |
---|---|---|
committer | stwo <stwo@noemail.net> | 2012-08-09 16:40:41 (GMT) |
commit | 205f7c9a98f278312611a499dc9e0014c6c8da49 (patch) | |
tree | 5347ed6db43d87e11078a4b2a93649e2a15fa016 /unix/tkUnixKey.c | |
parent | 24376bf73f74cf899d1ae3052505c7a9b9a8f9f1 (diff) | |
download | tk-205f7c9a98f278312611a499dc9e0014c6c8da49.zip tk-205f7c9a98f278312611a499dc9e0014c6c8da49.tar.gz tk-205f7c9a98f278312611a499dc9e0014c6c8da49.tar.bz2 |
Remove useless (void *) casts introduced in checkin [b7a58eae61]. The warnings were false flags from a faulty OpenBSD C compiler.
FossilOrigin-Name: 25ed4c4604a5a1ea71f7a8b18cc1a21e5f5b2354
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 |