fixed a compilation warning

This commit is contained in:
matlabbe
2018-05-10 13:57:02 -04:00
parent fa174be741
commit 5cdede1482

View File

@@ -202,7 +202,7 @@ void VWDictionary::setFixedDictionary(const std::string & dictionaryPath)
{
std::getline(file, str);
strList = uSplit(str);
if(strList.size() == dimension+1)
if((int)strList.size() == dimension+1)
{
//first one is the visual word id
std::list<std::string>::iterator iter = strList.begin();