summaryrefslogtreecommitdiff
path: root/unix/unix_mphal.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-27 14:03:53 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-27 14:03:53 +0000
commit7a5a4fe271d87c8331356673bf91416092f1edc2 (patch)
tree1523d63cb7ddeefdc04e77e7fcadba03cd74537e /unix/unix_mphal.c
parent88a9103b3c31a3ecbd70669a53d82dc5a947dfe8 (diff)
unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls.
Diffstat (limited to 'unix/unix_mphal.c')
-rw-r--r--unix/unix_mphal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/unix_mphal.c b/unix/unix_mphal.c
index 4d7c7aa05..4ea682f0c 100644
--- a/unix/unix_mphal.c
+++ b/unix/unix_mphal.c
@@ -105,13 +105,13 @@ int mp_hal_stdin_rx_chr(void) {
return c;
}
-void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len) {
+void mp_hal_stdout_tx_strn(const char *str, size_t len) {
int ret = write(1, str, len);
(void)ret; // to suppress compiler warning
}
// cooked is same as uncooked because the terminal does some postprocessing
-void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) {
+void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len) {
mp_hal_stdout_tx_strn(str, len);
}