Skip to content

Commit

Permalink
refs #6449 stupid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts authored and martyngigg committed Apr 10, 2013
1 parent be46d9a commit 6a3d4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Kernel/test/DiskBufferTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class DiskBufferTest : public CxxTest::TestSuite
{
// Room for 3 in the to-write cache
DiskBuffer dbuf(3);
int bigNum=1000;
size_t bigNum=1000;
std::vector<ISaveable *> bigData;
bigData.reserve(bigNum);
for (size_t i=0; i<bigNum; i++)
Expand All @@ -305,7 +305,7 @@ class DiskBufferTest : public CxxTest::TestSuite
dbuf.toWrite(bigData[i]);
}
//std::cout << ISaveableTester::fakeFile << std::endl;
for (size_t i=0; i<bigNum; i++)
for (size_t i=0; i<size_t(bigNum); i++)
delete bigData[i];

}
Expand Down

0 comments on commit 6a3d4e9

Please sign in to comment.