summaryrefslogtreecommitdiff
path: root/unix/input.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-03 14:21:40 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-11 00:49:27 +0000
commit4b72b3a133ea87a1ef8b964508dc25c551ccf093 (patch)
treee00ae8b891475f1a5d76bd2401d20a4dfb26e1e1 /unix/input.c
parenta0c97814dfcb0debbde8be99539e3d5ca2334e54 (diff)
py: Change type signature of builtin funs that take variable or kw args.
With this patch the n_args parameter is changed type from mp_uint_t to size_t.
Diffstat (limited to 'unix/input.c')
-rw-r--r--unix/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/input.c b/unix/input.c
index 66b3314c9..15ee60e75 100644
--- a/unix/input.c
+++ b/unix/input.c
@@ -158,7 +158,7 @@ void prompt_write_history(void) {
#endif
}
-STATIC mp_obj_t mp_builtin_input(mp_uint_t n_args, const mp_obj_t *args) {
+STATIC mp_obj_t mp_builtin_input(size_t n_args, const mp_obj_t *args) {
if (n_args == 1) {
mp_obj_print(args[0], PRINT_STR);
}