• 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
..
backdoor Loading commit data...
align.go Loading commit data...
basic.go Loading commit data...
callback.go Loading commit data...
callback_c.c Loading commit data...
cgo_linux_test.go Loading commit data...
cgo_test.go Loading commit data...
duplicate_symbol.go Loading commit data...
env.go Loading commit data...
exports.go Loading commit data...
helpers.go Loading commit data...
issue1222.go Loading commit data...
issue1328.go Loading commit data...
issue1560.go Loading commit data...
issue1635.go Loading commit data...
issue2462.go Loading commit data...
issue3261.go Loading commit data...
issue3741.go Loading commit data...
issue3945.go Loading commit data...
issue4054a.go Loading commit data...
issue4054b.go Loading commit data...
setgid_linux.go Loading commit data...
sleep_windows_386.go Loading commit data...