From: Zachary Turner Date: Wed, 1 Mar 2017 01:07:10 +0000 (+0000) Subject: Fix signed / unsigned comparison warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2848ebe89e09a6232d31872655d564695c89d3a7;p=llvm Fix signed / unsigned comparison warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296557 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/DebugInfo/PDB/BinaryStreamTest.cpp b/unittests/DebugInfo/PDB/BinaryStreamTest.cpp index dbb3eb54484..3e4df503ece 100644 --- a/unittests/DebugInfo/PDB/BinaryStreamTest.cpp +++ b/unittests/DebugInfo/PDB/BinaryStreamTest.cpp @@ -135,7 +135,7 @@ public: void SetUp() override { Streams.clear(); Streams.resize(NumStreams); - for (int I = 0; I < NumStreams; ++I) + for (uint32_t I = 0; I < NumStreams; ++I) Streams[I].IsContiguous = (I % 2 == 0); InputData.clear();