diff options
Diffstat (limited to 'src/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 84a2ad71a4..4a2d3e3cac 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -623,7 +623,7 @@ func mallocgc(size uintptr, typ *_type, flags uint32) unsafe.Pointer { } } } - c.local_cachealloc += intptr(size) + c.local_cachealloc += size } else { var s *mspan shouldhelpgc = true |
