From bb8aa107fd064a095479350bd22b1ce3ed146784 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 13 May 2020 05:31:51 -0400 Subject: Remove 32-bit String to_int method --- drivers/unix/net_socket_posix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/unix/net_socket_posix.cpp') diff --git a/drivers/unix/net_socket_posix.cpp b/drivers/unix/net_socket_posix.cpp index 15ad187ab4..186804dbb1 100644 --- a/drivers/unix/net_socket_posix.cpp +++ b/drivers/unix/net_socket_posix.cpp @@ -245,7 +245,7 @@ _FORCE_INLINE_ Error NetSocketPosix::_change_multicast_group(IP_Address p_ip, St continue; } - if_v6id = (uint32_t)c.index.to_int64(); + if_v6id = (uint32_t)c.index.to_int(); if (type == IP::TYPE_IPV6) { break; // IPv6 uses index. } -- cgit v1.2.3