From 4abff7500fb05430a2ce952a2430d4d0ba16047e Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 30 Aug 2014 14:59:21 +0100 Subject: py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. Part of code cleanup, working towards resolving issue #50. --- py/nativeglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/nativeglue.c') diff --git a/py/nativeglue.c b/py/nativeglue.c index b0ab595eb9..d269650adb 100644 --- a/py/nativeglue.c +++ b/py/nativeglue.c @@ -71,7 +71,7 @@ mp_obj_t mp_convert_native_to_obj(mp_uint_t val, mp_uint_t type) { // wrapper that accepts n_args and n_kw in one argument // (native emitter can only pass at most 3 arguments to a function) -mp_obj_t mp_native_call_function_n_kw(mp_obj_t fun_in, uint n_args_kw, const mp_obj_t *args) { +mp_obj_t mp_native_call_function_n_kw(mp_obj_t fun_in, mp_uint_t n_args_kw, const mp_obj_t *args) { return mp_call_function_n_kw(fun_in, n_args_kw & 0xff, (n_args_kw >> 8) & 0xff, args); } -- cgit v1.2.3