1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

SWTP6800: Correct type of value returned by sim_load routine

This commit is contained in:
Mark Pizzolato 2024-01-27 10:08:10 -10:00
parent 07b3741ea4
commit aa8f75fc48

View File

@ -1980,7 +1980,7 @@ t_stat m6800_reset(DEVICE *dptr)
#define HLEN 16
int32 sim_load(FILE *fileref, CONST char *cptr, CONST char *fnam, int flag)
t_stat sim_load(FILE *fileref, CONST char *cptr, CONST char *fnam, int flag)
{
int32 i, addr = 0, addr0 = 0, cnt = 0, cnt0 = 0, start = 0x10000;
int32 addr1 = 0, end = 0, byte, chk, rtype, flag0 = 1;