Skip to content

Commit

Permalink
Re #9958. Fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Sep 2, 2014
1 parent c4017ae commit c97d61c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/LiveData/src/FakeISISHistoDAE.cpp
Expand Up @@ -283,7 +283,7 @@ class TestServerConnection: public Poco::Net::TCPServerConnection
else if ( command == "UDET" )
{
std::vector<int> udet( m_nSpectra + m_nMonitors );
for(int i = 0; i < udet.size(); ++i)
for(int i = 0; i < static_cast<int>(udet.size()); ++i)
{
udet[i] = (int)( 1000 + i + 1 );
}
Expand All @@ -292,7 +292,7 @@ class TestServerConnection: public Poco::Net::TCPServerConnection
else if ( command == "SPEC" )
{
std::vector<int> spec( m_nSpectra + m_nMonitors );
for(int i = 0; i < spec.size(); ++i)
for(int i = 0; i < static_cast<int>(spec.size()); ++i)
{
spec[i] = (int)( i + 1 );
}
Expand Down
Expand Up @@ -529,7 +529,7 @@ namespace LiveData
}

m_monitorSpectra.resize( nmon );
for(size_t i = 0; i < nmon; ++i)
for(size_t i = 0; i < m_monitorSpectra.size(); ++i)
{
m_monitorSpectra[i] = m_specIDs[monitorIndices[i] - 1];
}
Expand Down

0 comments on commit c97d61c

Please sign in to comment.