Fix the macos build after D71575.
authorJim Ingham <jingham@apple.com>
Thu, 16 Jan 2020 02:10:31 +0000 (18:10 -0800)
committerJim Ingham <jingham@apple.com>
Thu, 16 Jan 2020 02:13:44 +0000 (18:13 -0800)
commitcd9e5c32302cd3b34b796683eedb072c6a1cfdc1
tree647ec52fbaee214fd76e986344c309c7ff99af89
parent77eb1b8f63c120f90ba529a5da2d392e165a4bc4
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.
lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp