2
0
Эх сурвалжийг харах

Fix test inet_pton call in test_arpa_inet

Harold Brenes 2 долоо хоног өмнө
parent
commit
0fdac0bd8c

+ 1 - 1
tests/core/sys/posix/posix.odin

@@ -21,7 +21,7 @@ test_arpa_inet :: proc(t: ^testing.T) {
 			dst: [posix.INET6_ADDRSTRLEN]byte
 			dst: [posix.INET6_ADDRSTRLEN]byte
 		}
 		}
 
 
-		res := posix.inet_pton(af, src, &addr, size_of(addr))
+		res := posix.inet_pton(af, src, &addr)
 		testing.expect_value(t, res, expect, loc)
 		testing.expect_value(t, res, expect, loc)
 
 
 		if expect == .SUCCESS {
 		if expect == .SUCCESS {