From ad36bf14ca7293a253150f13505b174ca9a5d1ea Mon Sep 17 00:00:00 2001 From: Jiri Gaisler Date: Tue, 11 Jun 2019 09:43:17 +0200 Subject: Silence warnings when compiled with LLVM --- interf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interf.c') diff --git a/interf.c b/interf.c index e79a6cb..d1e368b 100644 --- a/interf.c +++ b/interf.c @@ -81,7 +81,7 @@ sim_create_inferior() } int -sim_write (uint32 mem, const unsigned char *buf, int length) +sim_write (uint32 mem, const char *buf, int length) { int i, len; @@ -92,7 +92,7 @@ sim_write (uint32 mem, const unsigned char *buf, int length) } int -sim_read (uint32 mem, unsigned char *buf, int length) +sim_read (uint32 mem, char *buf, int length) { int i, len; -- cgit v1.2.3