summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
diff options
context:
space:
mode:
authorstwo@users.sourceforge.net <stwo>2011-01-06 05:58:15 (GMT)
committerstwo@users.sourceforge.net <stwo>2011-01-06 05:58:15 (GMT)
commitdc5181eb7b06cdd8baab12b9301f34ae36935072 (patch)
treece114895c5f0c860961963c80eb15866c2df5cad /unix/tkUnixRFont.c
parentf45391772be18e75818bccd66f30fc463f6661e9 (diff)
downloadtk-dc5181eb7b06cdd8baab12b9301f34ae36935072.zip
tk-dc5181eb7b06cdd8baab12b9301f34ae36935072.tar.gz
tk-dc5181eb7b06cdd8baab12b9301f34ae36935072.tar.bz2
Cast some NULLs to (void *) in order to quash "missing sentinel in function call" compiler warnings.
Diffstat (limited to 'unix/tkUnixRFont.c')
-rw-r--r--unix/tkUnixRFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c
index effeb57..d77ee5f 100644
--- a/unix/tkUnixRFont.c
+++ b/unix/tkUnixRFont.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixRFont.c,v 1.36 2010/12/02 11:38:29 dkf Exp $
+ * RCS: @(#) $Id: tkUnixRFont.c,v 1.37 2011/01/06 05:58:16 stwo Exp $
*/
#include "tkUnixInt.h"
@@ -115,7 +115,7 @@ GetFont(
FC_FAMILY, FcTypeString, "sans",
FC_SIZE, FcTypeDouble, 12.0,
FC_MATRIX, FcTypeMatrix, &mat,
- NULL);
+ (void *) NULL);
}
if (!ftFont) {
/*