From 2bcd57ce3397f1d9e570934386c6082cf216b1c4 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 26 May 2018 13:04:57 -0600 Subject: [PATCH] dtcm/graphics: NULL is not 0 --- cde/programs/dtcm/dtcm/graphics.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/programs/dtcm/dtcm/graphics.c b/cde/programs/dtcm/dtcm/graphics.c index 348b497e..6a71fbaa 100644 --- a/cde/programs/dtcm/dtcm/graphics.c +++ b/cde/programs/dtcm/dtcm/graphics.c @@ -170,10 +170,10 @@ static unsigned char gray_data_25[] = { 0x11 }; -static Pixmap black_data_pixmap = NULL; -static Pixmap gray_data_75_pixmap = NULL; -static Pixmap gray_data_50_pixmap = NULL; -static Pixmap gray_data_25_pixmap = NULL; +static Pixmap black_data_pixmap = 0; +static Pixmap gray_data_75_pixmap = 0; +static Pixmap gray_data_50_pixmap = 0; +static Pixmap gray_data_25_pixmap = 0; static unsigned char solid[solid_list_length] = {1, 0}; static unsigned char short_dotted[short_dotted_list_length] = {1, 1}; @@ -513,7 +513,7 @@ gr_create_xcontext(Calendar *c, Widget widget, GR_depth depth, XtAppContext app) { new_XContext *xc; - Colormap cms = NULL; + Colormap cms = 0; XGCValues gc_vals, tmp_vals; GC hilight_gc; XColor exact_color; -- 2.25.1