From: Jon Trulson Date: Sat, 26 May 2018 19:13:13 +0000 (-0600) Subject: dtcm: NULL is not 0 X-Git-Tag: 2.2.4a~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76b72bc6ec3ccfcf69bef43119d771267dd9054f;p=oweals%2Fcde.git dtcm: NULL is not 0 --- 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;