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 | 580cba42f4394a4ce477a8fc4984f77e2be6d613 (patch) | |
| tree | 909a47d3bd70c1e763089adb1f6e57a731b25dbd /src/runtime/defs_linux_arm.go | |
| parent | 5fce15a2a3cd94427bb9979d73acf14013ec7f31 (diff) | |
| download | go-580cba42f4394a4ce477a8fc4984f77e2be6d613.tar.xz | |
[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://golang.org/cl/177770043
Diffstat (limited to 'src/runtime/defs_linux_arm.go')
| -rw-r--r-- | src/runtime/defs_linux_arm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/defs_linux_arm.go b/src/runtime/defs_linux_arm.go index 7f8300293a..a874b15941 100644 --- a/src/runtime/defs_linux_arm.go +++ b/src/runtime/defs_linux_arm.go @@ -84,8 +84,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) { |
