From 7f861d2678aebbccc0a980c497febee0cdd7c025 Mon Sep 17 00:00:00 2001 From: mwachs5 Date: Fri, 5 May 2017 17:27:24 -0700 Subject: coreplex-e51: Correct width of MCAUSE --- bsp/env/coreplexip-arty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsp/env/coreplexip-arty.h') diff --git a/bsp/env/coreplexip-arty.h b/bsp/env/coreplexip-arty.h index 12ff9a6..161da7c 100644 --- a/bsp/env/coreplexip-arty.h +++ b/bsp/env/coreplexip-arty.h @@ -97,6 +97,6 @@ #define RTC_FREQ 32768 -void write_hex(int fd, uint32_t hex); +void write_hex(int fd, long int hex); #endif /* _SIFIVE_COREPLEXIP_ARTY_H */ -- cgit v1.2.1-18-gbd029