add casts to examples
This commit is contained in:
@@ -2,7 +2,7 @@ func main[] : i64
|
||||
let s: i64 = must(net.listen?(net.pack_addr(127, 0, 0, 1), 8000))
|
||||
|
||||
io.println("Listening on port 8000...")
|
||||
let resp: str = mem.alloc(60000)
|
||||
let resp: ptr = mem.alloc(60000)
|
||||
while true
|
||||
let conn: i64 = net.accept(s)
|
||||
if conn < 0
|
||||
|
||||
Reference in New Issue
Block a user