diff options
author | stwo@users.sourceforge.net <stwo> | 2011-01-06 05:58:15 (GMT) |
---|---|---|
committer | stwo@users.sourceforge.net <stwo> | 2011-01-06 05:58:15 (GMT) |
commit | dc5181eb7b06cdd8baab12b9301f34ae36935072 (patch) | |
tree | ce114895c5f0c860961963c80eb15866c2df5cad /unix/tkUnixRFont.c | |
parent | f45391772be18e75818bccd66f30fc463f6661e9 (diff) | |
download | tk-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.c | 4 |
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) { /* |