diff options
author | stwo <stwo> | 2011-01-06 05:58:15 (GMT) |
---|---|---|
committer | stwo <stwo> | 2011-01-06 05:58:15 (GMT) |
commit | 0073223922e3f2ce1c15c501de3c84196b5972da (patch) | |
tree | ce114895c5f0c860961963c80eb15866c2df5cad /unix/tkUnixEvent.c | |
parent | 18c820c6017eabf6e1f2ebcce5dcf7d84bf45911 (diff) | |
download | tk-0073223922e3f2ce1c15c501de3c84196b5972da.zip tk-0073223922e3f2ce1c15c501de3c84196b5972da.tar.gz tk-0073223922e3f2ce1c15c501de3c84196b5972da.tar.bz2 |
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings.
Diffstat (limited to 'unix/tkUnixEvent.c')
-rw-r--r-- | unix/tkUnixEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c index d3a42dd..390c72a 100644 --- a/unix/tkUnixEvent.c +++ b/unix/tkUnixEvent.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: tkUnixEvent.c,v 1.36 2010/06/15 11:16:03 nijtmans Exp $ + * RCS: @(#) $Id: tkUnixEvent.c,v 1.37 2011/01/06 05:58:15 stwo Exp $ */ #include "tkUnixInt.h" @@ -647,7 +647,7 @@ OpenIM( } if ((XGetIMValues(dispPtr->inputMethod, XNQueryInputStyle, &stylePtr, - NULL) != NULL) || (stylePtr == NULL)) { + (void *) NULL) != NULL) || (stylePtr == NULL)) { goto error; } |