From aa8f75fc48d069409591fb21327333d1b6fa471c Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 27 Jan 2024 10:08:10 -1000 Subject: [PATCH] SWTP6800: Correct type of value returned by sim_load routine --- swtp6800/common/m6800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swtp6800/common/m6800.c b/swtp6800/common/m6800.c index e662077e..26bf7dc7 100644 --- a/swtp6800/common/m6800.c +++ b/swtp6800/common/m6800.c @@ -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;