From 4650ee9378306c288e7f2b72070961e5eff4b639 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Dec 2021 02:09:47 -0500 Subject: [PATCH] sim: bfin: migrate to standard uintXX_t types Move off the sim-specific unsignedXX types and to the standard uintXX_t types that C11 provides. --- sim/bfin/dv-bfin_ctimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/bfin/dv-bfin_ctimer.c b/sim/bfin/dv-bfin_ctimer.c index b6fbb34f4c3..64dc5c5af9f 100644 --- a/sim/bfin/dv-bfin_ctimer.c +++ b/sim/bfin/dv-bfin_ctimer.c @@ -30,7 +30,7 @@ struct bfin_ctimer { bu32 base; struct hw_event *handler; - signed64 timeout; + int64_t timeout; /* Order after here is important -- matches hardware MMR layout. */ bu32 tcntl, tperiod, tscale, tcount; @@ -84,7 +84,7 @@ static void bfin_ctimer_update_count (struct hw *me, struct bfin_ctimer *ctimer) { bu32 scale, ticks; - signed64 timeout; + int64_t timeout; /* If the timer was enabled w/out autoreload and has expired, then there's nothing to calculate here. */ -- 2.30.2