mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
In a few places, the existing cgo tests assume that a Go int is the same as a C int. Making int 64 bits wide on 64-bit platforms violates this assumption. Change that code to assume that Go int32 and C int are the same instead. That's still not great, but it's better, and I am unaware of any systems we run on where it is not true. Update #2188. R=iant, r CC=golang-dev https://golang.org/cl/6552064 |
||
|---|---|---|
| .. | ||
| c-life.c | ||
| life.go | ||
| life.h | ||
| main.go | ||
| main.out | ||