• Russ Cox's avatar
    misc/cgo: prepare for 64-bit ints · 0a006b49
    Russ Cox authored
    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
    0a006b49
Name
Last commit
Last update
..
IntelliJIDEA Loading commit data...
arm Loading commit data...
bash Loading commit data...
bbedit Loading commit data...
cgo Loading commit data...
chrome/gophertool Loading commit data...
dashboard Loading commit data...
dist Loading commit data...
emacs Loading commit data...
fraise Loading commit data...
goplay Loading commit data...
kate Loading commit data...
notepadplus Loading commit data...
osx Loading commit data...
swig Loading commit data...
vim Loading commit data...
xcode Loading commit data...
zsh Loading commit data...
benchcmp Loading commit data...
pprof Loading commit data...