From 76b72bc6ec3ccfcf69bef43119d771267dd9054f Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 26 May 2018 13:13:13 -0600 Subject: [PATCH] dtcm: NULL is not 0 --- cde/programs/dtcm/dtcm/browser.c | 4 ++-- cde/programs/dtcm/dtcm/calendarA.c | 4 ++-- cde/programs/dtcm/dtcm/find.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/programs/dtcm/dtcm/browser.c b/cde/programs/dtcm/dtcm/browser.c index da573a7c..75fe69a1 100644 --- a/cde/programs/dtcm/dtcm/browser.c +++ b/cde/programs/dtcm/dtcm/browser.c @@ -1098,10 +1098,10 @@ register_names(char *name, Calendar *c) BlistData *bd = NULL; Browselist *bl = (Browselist *)c->browselist; CSA_return_code stat; - CSA_session_handle cal = NULL; + CSA_session_handle cal = 0; unsigned int user_access; CSA_calendar_user csa_user; - CSA_flags flags = NULL; + CSA_flags flags = 0; CSA_extension cb_ext; CSA_extension logon_ext; char buf[BUFSIZ]; diff --git a/cde/programs/dtcm/dtcm/calendarA.c b/cde/programs/dtcm/dtcm/calendarA.c index 8e73e752..ecb32f8a 100644 --- a/cde/programs/dtcm/dtcm/calendarA.c +++ b/cde/programs/dtcm/dtcm/calendarA.c @@ -2224,7 +2224,7 @@ open_initial_calendar( CSA_return_code *status) { char buf[MAXNAMELEN], *loc, *user; - CSA_flags flags = NULL; + CSA_flags flags = 0; CSA_extension cb_ext; CSA_extension logon_ext; CSA_calendar_user csa_user; @@ -3196,7 +3196,7 @@ switch_it(Calendar *c, char *new_calendar, WindowType win) if (new_cal_handle != c->my_cal_handle) { - CSA_flags flags = NULL; + CSA_flags flags = 0; CSA_extension cb_ext; flags = CSA_CB_ENTRY_ADDED | CSA_CB_ENTRY_DELETED | diff --git a/cde/programs/dtcm/dtcm/find.c b/cde/programs/dtcm/dtcm/find.c index 0db05d87..6b767c16 100644 --- a/cde/programs/dtcm/dtcm/find.c +++ b/cde/programs/dtcm/dtcm/find.c @@ -574,7 +574,7 @@ XmPushButtonCallbackStruct *cbs; pr_pos xy; Tick end_of_time, start, stop; Tick_list *ptr, *next_ptr, *tail_ptr, *new_tick; - CSA_session_handle cal = NULL; + CSA_session_handle cal = 0; CSA_return_code stat; CSA_entry_handle *entries = NULL; CSA_enum *ops; -- 2.25.1