summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorstwo <stwo@noemail.net>2011-01-06 05:58:15 (GMT)
committerstwo <stwo@noemail.net>2011-01-06 05:58:15 (GMT)
commit2ce7d809588663208d4239f618a27f65401e632f (patch)
treece114895c5f0c860961963c80eb15866c2df5cad /unix/tkUnixKey.c
parent3f6b7a371ddcf96340fffc2ad9589516b07eb34f (diff)
downloadtk-2ce7d809588663208d4239f618a27f65401e632f.zip
tk-2ce7d809588663208d4239f618a27f65401e632f.tar.gz
tk-2ce7d809588663208d4239f618a27f65401e632f.tar.bz2
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings.
FossilOrigin-Name: 81e50c85ed139b258d9edf452eaa784fb70dd374
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index ef0588f..47646b5 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixKey.c,v 1.17 2010/01/02 11:07:56 dkf Exp $
+ * RCS: @(#) $Id: tkUnixKey.c,v 1.18 2011/01/06 05:58:16 stwo Exp $
*/
#include "tkInt.h"
@@ -65,9 +65,9 @@ Tk_SetCaretPos(
spot.x = dispPtr->caret.x;
spot.y = dispPtr->caret.y + dispPtr->caret.height;
- preedit_attr = XVaCreateNestedList(0, XNSpotLocation, &spot, NULL);
+ preedit_attr = XVaCreateNestedList(0, XNSpotLocation, &spot, (void *) NULL);
XSetICValues(winPtr->inputContext, XNPreeditAttributes, preedit_attr,
- NULL);
+ (void *) NULL);
XFree(preedit_attr);
}
#endif