summaryrefslogtreecommitdiff
path: root/src/runtime/defs_openbsd_amd64.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-11-14 14:50:00 -0500
committerRuss Cox <rsc@golang.org>2014-11-14 14:50:00 -0500
commit307b9d78ce5a9975b2167786a89a7a8e96c2ab57 (patch)
tree4910d3e3c853ef5fbeed6b1375a22ec319d7fd5b /src/runtime/defs_openbsd_amd64.go
parent0b7f128e76956367ddb4f9ddbee4477d3b462e96 (diff)
downloadgo-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_openbsd_amd64.go')
-rw-r--r--src/runtime/defs_openbsd_amd64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/defs_openbsd_amd64.go b/src/runtime/defs_openbsd_amd64.go
index 122f46cf3..3c27c9144 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) {