From 3fd217eeccd6efd81a1c818f9e9cf6843e028023 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Tue, 6 Aug 2019 21:21:54 -0400 Subject: [PATCH] KA10: Fixed typing errors in auxcpu. --- PDP10/ka10_auxcpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PDP10/ka10_auxcpu.c b/PDP10/ka10_auxcpu.c index 097b77a..fcda5e8 100644 --- a/PDP10/ka10_auxcpu.c +++ b/PDP10/ka10_auxcpu.c @@ -54,7 +54,7 @@ static int pia = 0; static int status = 0; -int auxcpu_base = 03000000; +t_value auxcpu_base = 03000000; static t_stat auxcpu_devio(uint32 dev, t_uint64 *data); static t_stat auxcpu_svc (UNIT *uptr); @@ -398,7 +398,7 @@ t_stat auxcpu_devio(uint32 dev, t_uint64 *data) static t_stat auxcpu_set_base (UNIT *uptr, int32 val, CONST char *cptr, void *desc) { t_stat r; - int x; + t_value x; if (cptr == NULL || *cptr == 0) return SCPE_ARG; @@ -413,7 +413,7 @@ static t_stat auxcpu_set_base (UNIT *uptr, int32 val, CONST char *cptr, void *de static t_stat auxcpu_show_base (FILE *st, UNIT *uptr, int32 val, CONST void *desc) { - fprintf (st, "Base: %o", auxcpu_base); + fprintf (st, "Base: %llo", auxcpu_base); return SCPE_OK; } #endif