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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user