summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
diff options
context:
space:
mode:
authorstwo <stwo>2011-01-06 06:00:12 (GMT)
committerstwo <stwo>2011-01-06 06:00:12 (GMT)
commitc8e51ca91b4fe838df18ab5522182c172c859083 (patch)
tree59cafb76fd418809d04173405bf3ef99eb38e5ae /unix/tkUnixRFont.c
parent1c1a995dbe261d8d5616517b4f0ff8baa08ebd36 (diff)
downloadtk-c8e51ca91b4fe838df18ab5522182c172c859083.zip
tk-c8e51ca91b4fe838df18ab5522182c172c859083.tar.gz
tk-c8e51ca91b4fe838df18ab5522182c172c859083.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 29ef7fb..8a9133d 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.24.2.4 2010/01/02 18:41:14 dkf Exp $
+ * RCS: @(#) $Id: tkUnixRFont.c,v 1.24.2.5 2011/01/06 06:00:12 stwo Exp $
*/
#include "tkUnixInt.h"
@@ -93,7 +93,7 @@ GetFont(
ftFont = XftFontOpen(fontPtr->display, fontPtr->screen,
FC_FAMILY, FcTypeString, "sans",
FC_SIZE, FcTypeDouble, 12.0,
- NULL);
+ (void *) NULL);
}
if (!ftFont) {
/*