aboutsummaryrefslogtreecommitdiff
path: root/py/stream.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-27 12:19:25 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-29 14:25:04 +0000
commit4e7107a572b55321f3f483f0293dd19b4f752c9b (patch)
tree5cd4068be944446d225fac50688555128f736a38 /py/stream.h
parentfad7d9317b47330533ee6c84ffdaa3e53ad76e46 (diff)
py: Change mp_print_strn_t func type to use size_t for the str length.
Diffstat (limited to 'py/stream.h')
-rw-r--r--py/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/stream.h b/py/stream.h
index 5eace916f..16761217a 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,