summaryrefslogtreecommitdiff
path: root/interf.c
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2019-06-11 09:43:17 +0200
committerJiri Gaisler <jiri@gaisler.se>2019-06-11 09:43:17 +0200
commitad36bf14ca7293a253150f13505b174ca9a5d1ea (patch)
treeeda9b81238e46c4fc0a2219ed4e7135122b6326f /interf.c
parent6d694290dd93a63cc5b8570589c08dba597f766f (diff)
Silence warnings when compiled with LLVM
Diffstat (limited to 'interf.c')
-rw-r--r--interf.c4
1 files changed, 2 insertions, 2 deletions
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;