diff options
Diffstat (limited to 'py/stream.h')
-rw-r--r-- | py/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/stream.h b/py/stream.h index 5eace916fe..16761217aa 100644 --- a/py/stream.h +++ b/py/stream.h @@ -40,7 +40,7 @@ MP_DECLARE_CONST_FUN_OBJ(mp_stream_tell_obj); // Iterator which uses mp_stream_unbuffered_readline_obj mp_obj_t mp_stream_unbuffered_iter(mp_obj_t self); -mp_obj_t mp_stream_write(mp_obj_t self_in, const void *buf, mp_uint_t len); +mp_obj_t mp_stream_write(mp_obj_t self_in, const void *buf, size_t len); #if MICROPY_STREAMS_NON_BLOCK // TODO: This is POSIX-specific (but then POSIX is the only real thing, |