From: Mike Frysinger Date: Mon, 6 Dec 2021 07:09:47 +0000 (-0500) Subject: sim: bfin: migrate to standard uintXX_t types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4650ee9378306c288e7f2b72070961e5eff4b639;p=binutils-gdb.git 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. --- 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. */