mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Int in Go and C are two different types (hence why CGo has C.int). The code in syscall assumed they were of the same type, which led to a bug: https://github.com/tinygo-org/tinygo/issues/1957 While the C standard makes no guarantees on the size of int, in most modern operating systems it is 32-bits so Go int32 would be the correct choice.pull/1952/head
Ayke van Laethem
3 years ago
committed by
Ron Evans
1 changed files with 8 additions and 8 deletions
Loading…
Reference in new issue