Commit cc73a44f authored by Rick Hudson's avatar Rick Hudson

[dev.garbage] runtime: Fix constant overflow on 32 bit machines

LGTM=rsc
R=golang-codereviews
CC=golang-codereviews, rsc
https://golang.org/cl/180040043
parent 8cfb0845
...@@ -1335,7 +1335,7 @@ func mSpan_Sweep(s *mspan, preserve bool) bool { ...@@ -1335,7 +1335,7 @@ func mSpan_Sweep(s *mspan, preserve bool) bool {
end.ptr().next = gclinkptr(p) end.ptr().next = gclinkptr(p)
} }
end = gclinkptr(p) end = gclinkptr(p)
end.ptr().next = gclinkptr(0xbaddadae5) end.ptr().next = gclinkptr(0x0bade5)
nfree++ nfree++
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment