comparison dsp/tonal/TCSgram.cpp @ 189:e4a57215ddee

Fix compiler warnings with -Wall -Wextra
author Chris Cannam
date Mon, 28 Sep 2015 12:33:17 +0100
parents e5907ae6de17
children cbe668c7d724
comparison
equal deleted inserted replaced
188:224f400410ef 189:e4a57215ddee
34 34
35 void TCSGram::getTCSVector(int iPosition, TCSVector& rTCSVector) const 35 void TCSGram::getTCSVector(int iPosition, TCSVector& rTCSVector) const
36 { 36 {
37 if (iPosition < 0) 37 if (iPosition < 0)
38 rTCSVector = TCSVector(); 38 rTCSVector = TCSVector();
39 else if (iPosition >= m_VectorList.size()) 39 else if (iPosition >= int(m_VectorList.size()))
40 rTCSVector = TCSVector(); 40 rTCSVector = TCSVector();
41 else 41 else
42 rTCSVector = m_VectorList[iPosition].second; 42 rTCSVector = m_VectorList[iPosition].second;
43 } 43 }
44 44