summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
diff options
context:
space:
mode:
authorstwo <stwo>2011-01-06 05:58:15 (GMT)
committerstwo <stwo>2011-01-06 05:58:15 (GMT)
commit0073223922e3f2ce1c15c501de3c84196b5972da (patch)
treece114895c5f0c860961963c80eb15866c2df5cad /unix/tkUnixRFont.c
parent18c820c6017eabf6e1f2ebcce5dcf7d84bf45911 (diff)
downloadtk-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/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) {
/*