diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/socket.c b/unix/socket.c index 4813e75088..708cf7af52 100644 --- a/unix/socket.c +++ b/unix/socket.c @@ -212,7 +212,7 @@ static mp_obj_t mod_socket_gethostbyname(mp_obj_t arg) { static MP_DEFINE_CONST_FUN_OBJ_1(mod_socket_gethostbyname_obj, mod_socket_gethostbyname); #endif -static mp_obj_t mod_socket_getaddrinfo(int n_args, const mp_obj_t *args) { +static mp_obj_t mod_socket_getaddrinfo(uint n_args, const mp_obj_t *args) { // TODO: Implement all args assert(n_args == 2); assert(MP_OBJ_IS_TYPE(args[0], &str_type)); |