diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-19 16:02:09 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-19 16:02:09 +0000 |
commit | a11ceca807bd7a958c3d45ce02fe23cda0085f7d (patch) | |
tree | c2da00732cfd5343de5e2ead9adc9dbd7826952d /unix | |
parent | 136b149e417314e5ad46b3ee78b811df57e74f41 (diff) |
Change int to uint for n_args in function with variable arguments.
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 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)); |