--- freem/src/ssvn_lock.c 2025/01/19 02:04:04 1.1 +++ freem/src/ssvn_lock.c 2025/03/09 15:20:18 1.3 @@ -15,7 +15,7 @@ * ^$LOCK ssv * * - * Author: Serena Willis + * Author: Serena Willis * Copyright (C) 1998 MUG Deutschland * Copyright (C) 2020 Coherent Logic Development LLC * @@ -82,7 +82,7 @@ void ssvn_lock_add(char *key, pid_t owne } snprintf (k_buf, STRLEN - 1, "^$LOCK\202%s\201", t_buf); - snprintf (d_buf, STRLEN - 1, "%ld,%d\201\0", owner_job, count); + snprintf (d_buf, STRLEN - 1, "%ld,%d\201\0", (long) owner_job, count); symtab_shm (set_sym, k_buf, d_buf);