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/socket.c | |
parent | 136b149e417314e5ad46b3ee78b811df57e74f41 (diff) | |
download | micropython-a11ceca807bd7a958c3d45ce02fe23cda0085f7d.tar.gz micropython-a11ceca807bd7a958c3d45ce02fe23cda0085f7d.zip |
Change int to uint for n_args in function with variable arguments.
Diffstat (limited to 'unix/socket.c')
-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)); |