summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/moduselect.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-26 17:19:08 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-29 12:56:17 +1100
commita8a3ab48da5a151a2796a0303e3741d3c4f24f96 (patch)
tree67d572c04721152d540a8a3c4bd1af49ddeddbd6 /extmod/moduselect.c
parent6213ad7f466df12c734dc527993bbb46c9d9eb5c (diff)
downloadmicropython-a8a3ab48da5a151a2796a0303e3741d3c4f24f96.tar.gz
micropython-a8a3ab48da5a151a2796a0303e3741d3c4f24f96.zip
extmod/moduselect: Update to use size_t for array accessor.
Diffstat (limited to 'extmod/moduselect.c')
-rw-r--r--extmod/moduselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moduselect.c b/extmod/moduselect.c
index 5b00f6badd..46dbe42e11 100644
--- a/extmod/moduselect.c
+++ b/extmod/moduselect.c
@@ -113,7 +113,7 @@ STATIC mp_uint_t poll_map_poll(mp_map_t *poll_map, mp_uint_t *rwx_num) {
/// \function select(rlist, wlist, xlist[, timeout])
STATIC mp_obj_t select_select(uint n_args, const mp_obj_t *args) {
// get array data from tuple/list arguments
- mp_uint_t rwx_len[3];
+ size_t rwx_len[3];
mp_obj_t *r_array, *w_array, *x_array;
mp_obj_get_array(args[0], &rwx_len[0], &r_array);
mp_obj_get_array(args[1], &rwx_len[1], &w_array);