--- freem/src/ssvn_job.c 2025/01/19 02:04:04 1.1 +++ freem/src/ssvn_job.c 2025/03/09 15:20:18 1.3 @@ -15,7 +15,7 @@ * ^$JOB ssv * * - * Author: Serena Willis + * Author: Serena Willis * Copyright (C) 1998 MUG Deutschland * Copyright (C) 2020 Coherent Logic Development LLC * @@ -159,7 +159,7 @@ void ssvn_job_update(void) symtab_shm (set_sym, k_buf, d_buf); snprintf (k_buf, 512 - 1, "^$JOB\202%d\202ROUTINE_BUFFER_COUNT\201", pid); - snprintf (d_buf, 512 - 1, "%d\201", NO_OF_RBUF); + snprintf (d_buf, 512 - 1, "%ld\201", NO_OF_RBUF); symtab_shm (set_sym, k_buf, d_buf); snprintf (k_buf, 512 - 1, "^$JOB\202%d\202ROUTINE_BUFFER_AUTO_ADJUST\201", pid); @@ -730,7 +730,7 @@ void ssvn_job(short action, char *key, c tzoffset = tzo; - snprintf (data, 512 - 1, "%d\201", tzoffset); + snprintf (data, 512 - 1, "%ld\201", tzoffset); symtab_shm (action, key, data); goto done; @@ -1125,7 +1125,7 @@ void frm_process_alias (char *key) name[i] = '\0'; subprt = key + i; - snprintf (k_buf, STRLEN - 1, "^$JOB\202%ld\202ALIASES\202%s\201", pid, name); + snprintf (k_buf, STRLEN - 1, "^$JOB\202%ld\202ALIASES\202%s\201", (long) pid, name); symtab_shm (get_sym, k_buf, d_buf); stcnv_m2c (d_buf);