mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07:00
runtime: fix tiny build
Reported by Jeff Allen. R=r, r2 CC=golang-dev https://golang.org/cl/2385042
This commit is contained in:
parent
2408a4bbbd
commit
1b6282a799
@ -34,7 +34,7 @@ SysFree(void *v, uintptr n)
|
||||
// Push pointer back if this is a free
|
||||
// of the most recent SysAlloc.
|
||||
n += 7 & -n;
|
||||
if(allocp == v+n)
|
||||
if(allocp == (byte*)v+n)
|
||||
allocp -= n;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user