summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorstwo <stwo>2012-08-09 16:38:57 (GMT)
committerstwo <stwo>2012-08-09 16:38:57 (GMT)
commit4170dadb2c17a28bfbe04fcdba16d8e1038616df (patch)
tree897cee1f2335a38956040c0406b8177b81ac4c70 /unix/tkUnixKey.c
parentb33639f20e412831ed8724517ba70b2cdab6be57 (diff)
downloadtk-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 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index f13adf7..d07f13a 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -64,9 +64,9 @@ 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