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_openbsd_amd64.go | |
parent | 5fce15a2a3cd94427bb9979d73acf14013ec7f31 (diff) | |
download | go-git-580cba42f4394a4ce477a8fc4984f77e2be6d613.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://golang.org/cl/177770043
Diffstat (limited to 'src/runtime/defs_openbsd_amd64.go')
-rw-r--r-- | src/runtime/defs_openbsd_amd64.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/defs_openbsd_amd64.go b/src/runtime/defs_openbsd_amd64.go index 122f46cf33..3c27c9144f 100644 --- a/src/runtime/defs_openbsd_amd64.go +++ b/src/runtime/defs_openbsd_amd64.go @@ -149,8 +149,8 @@ type timespec struct { tv_nsec int64 } -func (ts *timespec) set_sec(x int32) { - ts.tv_sec = int64(x) +func (ts *timespec) set_sec(x int64) { + ts.tv_sec = x } func (ts *timespec) set_nsec(x int32) { |