Browse Source

Fix test inet_pton call in test_arpa_inet

Harold Brenes 2 weeks ago
parent
commit
0fdac0bd8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/core/sys/posix/posix.odin

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

@@ -21,7 +21,7 @@ test_arpa_inet :: proc(t: ^testing.T) {
 			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)
 
 		if expect == .SUCCESS {