From 44702c85e2cb6cce29baf2cbe310fc19e564c990 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 15 Oct 2015 09:32:54 +0000 Subject: [PATCH] [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 --- tools/llvm-pdbdump/llvm-pdbdump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1