mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
Compiler suggested cleanups.
Mostly silencing noise warnings, but bugs were found in sim_console.c and pdp11_dmc.c
This commit is contained in:
@@ -979,7 +979,7 @@ else {
|
||||
if (cptr == tptr)
|
||||
return SCPE_ARG;
|
||||
sim_throt_sleep_time = sim_idle_rate_ms;
|
||||
c = toupper (*tptr++);
|
||||
c = (char)toupper (*tptr++);
|
||||
if (c == '/')
|
||||
val2 = strtotv (tptr, &tptr, 10);
|
||||
if ((*tptr != 0) || (val == 0))
|
||||
|
||||
Reference in New Issue
Block a user