mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
FRONTPANEL: Fix clang compiler warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user