Fix 32bit build

This commit is contained in:
Matthew Parkinson
2019-04-25 15:00:35 +01:00
committed by Matthew Parkinson
parent 5030fff9bd
commit 70e2fcf26f

View File

@@ -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();
}