--- freem/src/ssvn_device.c 2025/01/19 02:04:04 1.1 +++ freem/src/ssvn_device.c 2025/02/28 20:51:20 1.2 @@ -197,7 +197,7 @@ void ssvn_device(short action, char *key break; } else if (strcmp (r->subscripts[1], "NAME") == 0) { - sprintf (data, dev[channel]); + sprintf (data, "%s", dev[channel]); break; } else if (strcmp (r->subscripts[1], "TYPE") == 0) { @@ -223,7 +223,7 @@ void ssvn_device(short action, char *key fstat (fd, &s); siz = s.st_size; - sprintf (data, "%ld\201", siz); + sprintf (data, "%ld\201", (long) siz); break;