1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-03-10 12:29:26 +00:00

KA10: Fixed windows Release build errors.

This commit is contained in:
Richard Cornwell
2019-11-03 22:08:57 -05:00
parent 41a629ec3f
commit 4d858646b1

View File

@@ -54,7 +54,7 @@
static int pia = 0;
static int status = 0;
t_value auxcpu_base = 03000000;
int auxcpu_base = 03000000;
static t_stat auxcpu_devio(uint32 dev, t_uint64 *data);
static t_stat auxcpu_svc (UNIT *uptr);
@@ -407,13 +407,13 @@ static t_stat auxcpu_set_base (UNIT *uptr, int32 val, CONST char *cptr, void *de
if (r != SCPE_OK)
return SCPE_ARG;
auxcpu_base = x;
auxcpu_base = (int)x;
return SCPE_OK;
}
static t_stat auxcpu_show_base (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{
fprintf (st, "Base: %llo", auxcpu_base);
fprintf (st, "Base: %06o", auxcpu_base);
return SCPE_OK;
}
#endif