1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Compiler suggested fixes

This commit is contained in:
Mark Pizzolato
2013-01-23 12:36:03 -08:00
parent f7e8024c59
commit 9091330a5f
6 changed files with 10 additions and 8 deletions

View File

@@ -1244,7 +1244,7 @@ static const int32 boot_rom[] = {
t_stat cpu_boot (int32 unitno, DEVICE *dptr)
{
int32 i;
size_t i;
for (i = 0; i < BOOT_LEN; i++) M[BOOT_START + i] = boot_rom[i];
saved_PC = BOOT_START;

View File

@@ -1085,7 +1085,7 @@ static const int32 boot_rom[] = {
t_stat dkp_boot (int32 unitno, DEVICE *dptr)
{
int32 i;
size_t i;
for (i = 0; i < BOOT_LEN; i++)
M[BOOT_START + i] = (uint16) boot_rom[i];

View File

@@ -297,7 +297,7 @@ static const int32 boot_rom[] = {
t_stat dsk_boot (int32 unitno, DEVICE *dptr)
{
int32 i;
size_t i;
for (i = 0; i < BOOT_LEN; i++) M[BOOT_START + i] = (uint16) boot_rom[i];
saved_PC = BOOT_START;