Skip to content

Commit 7a5a4fe

Browse files
committed
unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls.
1 parent 88a9103 commit 7a5a4fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unix/unix_mphal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ int mp_hal_stdin_rx_chr(void) {
105105
return c;
106106
}
107107

108-
void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len) {
108+
void mp_hal_stdout_tx_strn(const char *str, size_t len) {
109109
int ret = write(1, str, len);
110110
(void)ret; // to suppress compiler warning
111111
}
112112

113113
// cooked is same as uncooked because the terminal does some postprocessing
114-
void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) {
114+
void mp_hal_stdout_tx_strn_cooked(const char *str, size_t len) {
115115
mp_hal_stdout_tx_strn(str, len);
116116
}
117117

0 commit comments

Comments
 (0)