diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-27 14:03:53 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-27 14:03:53 +0000 |
commit | 7a5a4fe271d87c8331356673bf91416092f1edc2 (patch) | |
tree | 1523d63cb7ddeefdc04e77e7fcadba03cd74537e /unix/unix_mphal.c | |
parent | 88a9103b3c31a3ecbd70669a53d82dc5a947dfe8 (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.c | 4 |
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); } |