Skip to content

Commit 3022e00

Browse files
committed
lib/netutils: Update for changes to mp_obj_str_get_data.
1 parent 204ded8 commit 3022e00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/netutils/netutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mp_obj_t netutils_format_inet_addr(uint8_t *ip, mp_uint_t port, netutils_endian_
5656
}
5757

5858
void netutils_parse_ipv4_addr(mp_obj_t addr_in, uint8_t *out_ip, netutils_endian_t endian) {
59-
mp_uint_t addr_len;
59+
size_t addr_len;
6060
const char *addr_str = mp_obj_str_get_data(addr_in, &addr_len);
6161
if (addr_len == 0) {
6262
// special case of no address given

0 commit comments

Comments
 (0)