From d199ff105665cfdfc856ccfdf2c31f9ebcbe35e2 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Sun, 16 Oct 2022 16:59:31 +0200 Subject: [PATCH] 3B2: Change uint32_t into uint32 --- 3B2/3b2_stddev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3B2/3b2_stddev.c b/3B2/3b2_stddev.c index a5e79777..14989333 100644 --- a/3B2/3b2_stddev.c +++ b/3B2/3b2_stddev.c @@ -294,7 +294,7 @@ static void tod_resync(UNIT *uptr) { TOD_DATA *td; time_t delta; - uint32_t catchup_ticks; + uint32 catchup_ticks; if (!(uptr->flags & UNIT_ATT) || uptr->filebuf == NULL) { return; @@ -305,7 +305,7 @@ static void tod_resync(UNIT *uptr) if (td->time > 0) { delta = time(NULL) - td->time; if (delta > MIN_DIFF && delta < MAX_DIFF) { - catchup_ticks = (uint32_t) delta * CLK_TPS; + catchup_ticks = (uint32) delta * CLK_TPS; sim_debug(EXECUTE_MSG, &tod_dev, "Catching up with a delta of %ld seconds (%d ticks).\n", delta, catchup_ticks);