mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[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
This commit is contained in:
parent
5fce15a2a3
commit
580cba42f4
12 changed files with 22 additions and 22 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue