From 4190143c9170bd5d37a8029c5e899a30e5adb985 Mon Sep 17 00:00:00 2001 From: Liang Chang Date: Thu, 11 Feb 2021 21:01:41 +0800 Subject: [PATCH] dtcm: fix a segfault when "Drag Appt" in the dtcm_editor. --- cde/programs/dtcm/libDtCmP/cm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtcm/libDtCmP/cm_tty.c b/cde/programs/dtcm/libDtCmP/cm_tty.c index 4e20b938e..ae2401e26 100644 --- a/cde/programs/dtcm/libDtCmP/cm_tty.c +++ b/cde/programs/dtcm/libDtCmP/cm_tty.c @@ -1684,7 +1684,7 @@ attrs_to_string(CSA_attribute * attrs, int num_attrs) CSA_access_list a_ptr; char *buffer = malloc(1); char tmp_buf[MAXNAMELEN]; - int advance_time; + time_t advance_time; buffer[0] = '\0'; for (i = 0; i < num_attrs; i++) {