1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-15 16:07:47 +00:00

FRONTPANEL: Fix clang compiler warning

This commit is contained in:
Mark Pizzolato 2018-01-12 16:35:51 -08:00
parent c4e55d0f6b
commit c494e1a120

View File

@ -68,7 +68,7 @@ while (1) {
buf_size = len + 1;
buf[buf_size] = '\0';
}
while (c = strstr (buf, "\r\n"))
while ((c = strstr (buf, "\r\n")))
memmove (c, c + 1, strlen (c));
printw ("%s", buf);
}