From ecc88e949ca5e307d22da4605a40d39ea2df9e3b Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 30 Aug 2014 00:35:11 +0100 Subject: Change some parts of the core API to use mp_uint_t instead of uint/int. Addressing issue #50, still some way to go yet. --- stmhal/modos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/modos.c') diff --git a/stmhal/modos.c b/stmhal/modos.c index e8bbde8d9..6a2100698 100644 --- a/stmhal/modos.c +++ b/stmhal/modos.c @@ -104,7 +104,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_0(os_getcwd_obj, os_getcwd); /// \function listdir([dir]) /// With no argument, list the current directory. Otherwise list the given directory. -STATIC mp_obj_t os_listdir(uint n_args, const mp_obj_t *args) { +STATIC mp_obj_t os_listdir(mp_uint_t n_args, const mp_obj_t *args) { bool is_str_type = true; const char *path; if (n_args == 1) { -- cgit v1.2.3