HomePhabricator

Fix the macos build after D71575.

Authored by jingham on Jan 15 2020, 6:10 PM.

Description

Fix the macos build after D71575.

size_t and uint64_t are spelled slightly differently on macOS, which was
causing the compiler to error out calling std::min - since the two types have
to be the same.

I fixed this by casting the uint64_t computation to a size_t. That's probably
not the cleanest solution, but it gets us back to building.

Details

Committed
jinghamJan 15 2020, 6:13 PM
Parents
rG77eb1b8f63c1: llc: Don't overwrite frame-pointer attribute
Branches
Unknown
Tags
Unknown