1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

DISK: Fix compiler warning

This commit is contained in:
Mark Pizzolato
2023-08-30 06:37:13 -10:00
parent a21a7f9620
commit 292286b568

View File

@@ -7299,7 +7299,7 @@ if ((sim_scp_dev.dctrl & SIM_DBG_INIT) && sim_deb) {
else
strlcpy (mstring, "NULL", sizeof (mstring));
if (mptr->desc)
snprintf (desc, sizeof (desc), "\"%s\"", mptr->desc);
snprintf (desc, sizeof (desc), "\"%s\"", (char *)mptr->desc);
else
strlcpy (desc, "NULL", sizeof (desc));
if (mptr->help)