diff options
Diffstat (limited to 'src/runtime/proc.go')
| -rw-r--r-- | src/runtime/proc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 1b33d59736..d572fa2215 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -3329,8 +3329,8 @@ func dropg() { func checkTimers(pp *p, now int64) (rnow, pollUntil int64, ran bool) { // If it's not yet time for the first timer, or the first adjusted // timer, then there is nothing to do. - next := int64(pp.timer0When.Load()) - nextAdj := int64(pp.timerModifiedEarliest.Load()) + next := pp.timer0When.Load() + nextAdj := pp.timerModifiedEarliest.Load() if next == 0 || (nextAdj != 0 && nextAdj < next) { next = nextAdj } |
