Commit 7a5a4fe2 authored by Damien George's avatar Damien George
Browse files

unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls.

parent 88a9103b
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment