Added placeholders for type casts

This commit is contained in:
Eduard Urbach 2025-02-27 00:18:34 +01:00
parent f87cda97e2
commit a905710982
Signed by: eduard
GPG key ID: 49226B848C78F6C8
19 changed files with 61 additions and 42 deletions

View file

@ -1,6 +1,6 @@
import sys
bind(socket int, port int) -> int {
bind(socket int, port uint16) -> int {
addr := new(sys.sockaddr_in)
addr.sin_family = 2
addr.sin_port = htons(port)