diff options
author | stwo <stwo@noemail.net> | 2011-01-06 06:00:12 (GMT) |
---|---|---|
committer | stwo <stwo@noemail.net> | 2011-01-06 06:00:12 (GMT) |
commit | 5305c1a66bcf9f477031398e8752f2310869613f (patch) | |
tree | 59cafb76fd418809d04173405bf3ef99eb38e5ae /unix/tkUnixKey.c | |
parent | 2c48e2ac3fb4c295ecb885aedd30d553922667d2 (diff) | |
download | tk-5305c1a66bcf9f477031398e8752f2310869613f.zip tk-5305c1a66bcf9f477031398e8752f2310869613f.tar.gz tk-5305c1a66bcf9f477031398e8752f2310869613f.tar.bz2 |
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings.
FossilOrigin-Name: b7a58eae613a06ad7ad9e2cf2aa3a294804fc3b8
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index d482b16..6c9f467 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.13.2.2 2010/01/02 10:43:26 dkf Exp $ + * RCS: @(#) $Id: tkUnixKey.c,v 1.13.2.3 2011/01/06 06:00:12 stwo Exp $ */ #include "tkInt.h" @@ -66,10 +66,10 @@ 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 |