summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
diff options
context:
space:
mode:
authorstwo@users.sourceforge.net <stwo>2011-01-06 06:00:12 (GMT)
committerstwo@users.sourceforge.net <stwo>2011-01-06 06:00:12 (GMT)
commit7a670d2b3135f0bb6ffe0e55394b9e7bb80c61d1 (patch)
tree59cafb76fd418809d04173405bf3ef99eb38e5ae /unix/tkUnixEvent.c
parentea8de8e3889e0d02770fdad321b1c8941502363c (diff)
downloadtk-7a670d2b3135f0bb6ffe0e55394b9e7bb80c61d1.zip
tk-7a670d2b3135f0bb6ffe0e55394b9e7bb80c61d1.tar.gz
tk-7a670d2b3135f0bb6ffe0e55394b9e7bb80c61d1.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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 16ab4f7..63e628a 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.27.2.3 2010/01/02 10:43:26 dkf Exp $
+ * RCS: @(#) $Id: tkUnixEvent.c,v 1.27.2.4 2011/01/06 06:00:12 stwo Exp $
*/
#include "tkUnixInt.h"
@@ -640,7 +640,7 @@ OpenIM(
}
if ((XGetIMValues(dispPtr->inputMethod, XNQueryInputStyle, &stylePtr,
- NULL) != NULL) || (stylePtr == NULL)) {
+ (void *) NULL) != NULL) || (stylePtr == NULL)) {
goto error;
}