From 3b8713e3fa064f354b21e079200f92bfcebfa508 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Fri, 14 Nov 2025 16:10:56 -0800 Subject: [PATCH] [scudo] Fix wrong return type. --- compiler-rt/lib/scudo/standalone/primary64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/scudo/standalone/primary64.h b/compiler-rt/lib/scudo/standalone/primary64.h index 747b1a2233d32..c2401c86671d0 100644 --- a/compiler-rt/lib/scudo/standalone/primary64.h +++ b/compiler-rt/lib/scudo/standalone/primary64.h @@ -1394,7 +1394,7 @@ uptr SizeClassAllocator64::releaseToOSMaybe(RegionInfo *Region, Region->FreeListInfo.PushedBlocks) * BlockSize; if (UNLIKELY(BytesInFreeList == 0)) - return false; + return 0; // ==================================================================== // // 1. Check if we have enough free blocks and if it's worth doing a page