--- freem/src/xecline.c 2025/01/19 02:04:04 1.1 +++ freem/src/xecline.c 2025/03/09 15:20:18 1.4 @@ -15,7 +15,7 @@ * freem interpreter proper * * - * Author: Serena Willis + * Author: Serena Willis * Copyright (C) 1998 MUG Deutschland * Copyright (C) 2020 Coherent Logic Development LLC * @@ -2021,8 +2021,8 @@ set10: goto err; } - sec += day * 86400 + timezone; - day = timezone; + sec += day * 86400 + FreeM_timezone; + day = FreeM_timezone; sh_ts.tv_sec = sec; @@ -2042,7 +2042,7 @@ set10: clock = time (0L); ctdata = localtime (&clock); - if (day -= (timezone = ctdata->tm_tzadj)) { + if (day -= (FreeM_timezone = ctdata->tm_tzadj)) { sec -= day; tzoffset += day; stime (&sec); @@ -7484,10 +7484,10 @@ void rbuf_dump(void) printf ("ROUTINE BUFFER CONFIGURATION\r\n"); - printf (" ROUTINE BUFFER COUNT: %d\r\n", NO_OF_RBUF); + printf (" ROUTINE BUFFER COUNT: %ld\r\n", NO_OF_RBUF); printf (" MAX. ROUTINE BUFFER COUNT: %d\r\n", MAXNO_OF_RBUF); printf (" DEFAULT ROUTINE BUFFER SIZE (EACH): %d BYTES\r\n", DEFPSIZE0 - 1); - printf (" CURRENT ROUTINE BUFFER SIZE (EACH): %d BYTES\r\n\r\n", PSIZE0 - 1); + printf (" CURRENT ROUTINE BUFFER SIZE (EACH): %ld BYTES\r\n\r\n", PSIZE0 - 1); printf ("BUFFERS IN USE:\r\n\r\n");