You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On tip 59fdb5d05e04 of golang, buiild of pkg index failed because of argument
type mismatch.
# code.google.com/p/codesearch/index
src/code.google.com/p/codesearch/index/mmap_bsd.go:34: cannot use f.Fd() (type
uintptr) as type int in function argument
Original issue reported on code.google.com by minux...@gmail.com on 13 Feb 2012 at 8:30
The text was updated successfully, but these errors were encountered:
It's because of:
http://code.google.com/p/go/source/detail?r=d39a981f1883206abe203bada18c465e5910
c1a1
The change move switches the return value of f.Fd() from an int to a uintptr.
Converting the value back to an int fixes the build on my Mac and Linux
machines. I can only assume a similar fix exists for the Windows mmap version,
but I don't have anything I can test that with.
I've attached the two trivial patches.
Original comment by dgryski on 13 Feb 2012 at 8:36
Original issue reported on code.google.com by
minux...@gmail.com
on 13 Feb 2012 at 8:30The text was updated successfully, but these errors were encountered: