diff options
author | stwo <stwo@noemail.net> | 2012-08-09 16:38:57 (GMT) |
---|---|---|
committer | stwo <stwo@noemail.net> | 2012-08-09 16:38:57 (GMT) |
commit | c51f3523c10eb6b434f1e0e32ca7e8638cdefcc1 (patch) | |
tree | 897cee1f2335a38956040c0406b8177b81ac4c70 /unix/tkUnixKey.c | |
parent | 9eb1d2f75ef87f16de354dc944c7e02b844514d2 (diff) | |
download | tk-c51f3523c10eb6b434f1e0e32ca7e8638cdefcc1.zip tk-c51f3523c10eb6b434f1e0e32ca7e8638cdefcc1.tar.gz tk-c51f3523c10eb6b434f1e0e32ca7e8638cdefcc1.tar.bz2 |
Remove useless (void *) casts introduced in checkin [81e50c85ed]. The warnings were false flags from a faulty OpenBSD C compiler.
FossilOrigin-Name: 15218b051c550638fb61dda3e86feb034c140f6f
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 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 |