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
|
|
@ -56,7 +56,7 @@ func semasleep(ns int64) int32 {
|
|||
var ts timespec
|
||||
var nsec int32
|
||||
ns += nanotime()
|
||||
ts.set_sec(timediv(ns, 1000000000, &nsec))
|
||||
ts.set_sec(int64(timediv(ns, 1000000000, &nsec)))
|
||||
ts.set_nsec(nsec)
|
||||
tsp = &ts
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue