Fix 32bit build
This commit is contained in:
committed by
Matthew Parkinson
parent
5030fff9bd
commit
70e2fcf26f
@@ -987,7 +987,7 @@ namespace snmalloc
|
||||
SlabLink* link = sc->get_head();
|
||||
Slab* slab;
|
||||
|
||||
if ((uintptr_t)link != ~0ULL)
|
||||
if (~(uintptr_t)link != 0)
|
||||
{
|
||||
slab = link->get_slab();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user