mirror of https://github.com/golang/go.git
[dev.garbage] runtime: Fix constant overflow on 32 bit machines
LGTM=rsc R=golang-codereviews CC=golang-codereviews, rsc https://golang.org/cl/180040043
This commit is contained in:
parent
8cfb084534
commit
cc73a44f67
|
|
@ -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++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue