Skip to content

Commit

Permalink
[dev.garbage] runtime: Fix constant overflow on 32 bit machines
Browse files Browse the repository at this point in the history
LGTM=rsc
R=golang-codereviews
CC=golang-codereviews, rsc
https://golang.org/cl/180040043
  • Loading branch information
RLH committed Nov 20, 2014
1 parent 8cfb084 commit cc73a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/mgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ func mSpan_Sweep(s *mspan, preserve bool) bool {
end.ptr().next = gclinkptr(p)
}
end = gclinkptr(p)
end.ptr().next = gclinkptr(0xbaddadae5)
end.ptr().next = gclinkptr(0x0bade5)
nfree++
}
}
Expand Down

0 comments on commit cc73a44

Please sign in to comment.