summaryrefslogtreecommitdiffstatshomepage
path: root/py/modmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modmath.c')
-rw-r--r--py/modmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modmath.c b/py/modmath.c
index cffd8cf491..6abf8ab3e9 100644
--- a/py/modmath.c
+++ b/py/modmath.c
@@ -152,7 +152,7 @@ MATH_FUN_1(lgamma, lgamma)
// Function that takes a variable number of arguments
// log(x[, base])
-STATIC mp_obj_t mp_math_log(mp_uint_t n_args, const mp_obj_t *args) {
+STATIC mp_obj_t mp_math_log(size_t n_args, const mp_obj_t *args) {
mp_float_t x = mp_obj_get_float(args[0]);
if (x <= (mp_float_t)0.0) {
math_error();