diff options
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7045/sci/sci.c')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/sci/sci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/sci/sci.c b/c/src/lib/libcpu/sh/sh7045/sci/sci.c index 89aa4b592c..548551164b 100644 --- a/c/src/lib/libcpu/sh/sh7045/sci/sci.c +++ b/c/src/lib/libcpu/sh/sh7045/sci/sci.c @@ -541,9 +541,9 @@ static int _sh_sci_poll_read(int minor) /* * Termios polled write */ -static int _sh_sci_poll_write(int minor, const uint8_t *buf, int len) +static ssize_t _sh_sci_poll_write(int minor, const char *buf, size_t len) { - int count; + size_t count; for (count = 0; count < len; count++) outbyte( minor, buf[count] ); |