dtcm/graphics: NULL is not 0
authorJon Trulson <jon@radscan.com>
Sat, 26 May 2018 19:04:57 +0000 (13:04 -0600)
committerJon Trulson <jon@radscan.com>
Fri, 1 Jun 2018 04:23:19 +0000 (22:23 -0600)
cde/programs/dtcm/dtcm/graphics.c

index 348b497e583dd7cbc4b3ec5b1519b4fd22be178e..6a71fbaa24820c2451cdc26634b1e6c07dad0a38 100644 (file)
@@ -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;