diff options
author | Russ Cox <rsc@golang.org> | 2014-11-14 14:50:00 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-14 14:50:00 -0500 |
commit | 307b9d78ce5a9975b2167786a89a7a8e96c2ab57 (patch) | |
tree | 4910d3e3c853ef5fbeed6b1375a22ec319d7fd5b /src/runtime/defs_linux_386.go | |
parent | 0b7f128e76956367ddb4f9ddbee4477d3b462e96 (diff) | |
download | go-307b9d78ce5a9975b2167786a89a7a8e96c2ab57.tar.gz |
[dev.cc] runtime: change set_sec to take int64
Fixes build.
Tested that all these systems can make.bash.
TBR=austin
CC=golang-codereviews
https://codereview.appspot.com/177770043
Diffstat (limited to 'src/runtime/defs_linux_386.go')
-rw-r--r-- | src/runtime/defs_linux_386.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/defs_linux_386.go b/src/runtime/defs_linux_386.go index a468f60d9..ddf592c91 100644 --- a/src/runtime/defs_linux_386.go +++ b/src/runtime/defs_linux_386.go @@ -130,8 +130,8 @@ type timespec struct { tv_nsec int32 } -func (ts *timespec) set_sec(x int32) { - ts.tv_sec = x +func (ts *timespec) set_sec(x int64) { + ts.tv_sec = int32(x) } func (ts *timespec) set_nsec(x int32) { |