diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-03-01 21:28:41 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-03-01 21:28:41 +0000 |
| commit | 962a83fbe96b35d6fa0ade694d32eb0d08e21ee3 (patch) | |
| tree | d5480d6420b9b1d818f974bae283e2a36714866d | |
| parent | c2f151084d3ae3d9c04d0d7125c863612f8c34f5 (diff) | |
| download | bcm5719-llvm-962a83fbe96b35d6fa0ade694d32eb0d08e21ee3.tar.gz bcm5719-llvm-962a83fbe96b35d6fa0ade694d32eb0d08e21ee3.zip | |
Unbreak Windows bots.
llvm-svn: 296680
| -rw-r--r-- | lld/ELF/GdbIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/GdbIndex.cpp b/lld/ELF/GdbIndex.cpp index 592a9acada5..a7c002cfe37 100644 --- a/lld/ELF/GdbIndex.cpp +++ b/lld/ELF/GdbIndex.cpp @@ -116,7 +116,7 @@ std::pair<bool, GdbSymbol *> GdbHashTab::add(uint32_t Hash, size_t Offset) { } void GdbHashTab::finalizeContents() { - Table.resize(std::max(1024UL, NextPowerOf2(Map.size() * 4 / 3))); + Table.resize(std::max<uint64_t>(1024, NextPowerOf2(Map.size() * 4 / 3))); for (auto &P : Map) { GdbSymbol *Sym = P.second; |

