From: Benjamin Kramer Date: Thu, 15 Oct 2015 09:32:54 +0000 (+0000) Subject: [llvm-pdbdump] Remove oddly placed parens that MSVC doesn't like X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44702c85e2cb6cce29baf2cbe310fc19e564c990;p=oota-llvm.git [llvm-pdbdump] Remove oddly placed parens that MSVC doesn't like git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250385 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-pdbdump/llvm-pdbdump.cpp b/tools/llvm-pdbdump/llvm-pdbdump.cpp index 7af8c5fe352..5ef263d2081 100644 --- a/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -361,7 +361,7 @@ static void dumpStructure(MemoryBufferRef M) { if (BytesLeftToReadInStream == 0) break; - uint32_t BytesToReadInBlock = (std::min)( + uint32_t BytesToReadInBlock = std::min( BytesLeftToReadInStream, static_cast(SB->BlockSize)); auto StreamBlockData = StringRef(M.getBufferStart() + StreamBlockOffset, BytesToReadInBlock);