From 59e676038383cbbf5997601bc16b04b8d1cdca68 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 25 Apr 2014 17:15:12 -0700 Subject: Rosalloc: fix signature for 64b Change-Id: I56df1df0118a0aa1584e51fb574902f7eb88cd80 --- runtime/gc/allocator/rosalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/gc') diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index 714230b..f7fa2da 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h @@ -259,7 +259,7 @@ class RosAlloc { void MarkThreadLocalFreeBitMap(void* ptr); // Last word mask, all of the bits in the last word which aren't valid slots are set to // optimize allocation path. - static size_t GetBitmapLastVectorMask(size_t num_slots, size_t num_vec); + static uint32_t GetBitmapLastVectorMask(size_t num_slots, size_t num_vec); // Returns true if all the slots in the run are not in use. bool IsAllFree(); // Returns true if all the slots in the run are in use. -- cgit v1.1