From a11ceca807bd7a958c3d45ce02fe23cda0085f7d Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 19 Jan 2014 16:02:09 +0000 Subject: Change int to uint for n_args in function with variable arguments. --- unix/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix/socket.c') diff --git a/unix/socket.c b/unix/socket.c index 4813e7508..708cf7af5 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)); -- cgit v1.2.3