harmless warning

This commit is contained in:
Paolo Cignoni 2018-02-20 23:26:04 +01:00
parent 735391f996
commit aecb23868f
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ namespace vcg
if (_glopts != NULL) if (_glopts != NULL)
{ {
std::string tmp; std::string tmp;
int size = _glopts->serialize(tmp); size_t size = _glopts->serialize(tmp);
token[i] = str.substr(pos, size); token[i] = str.substr(pos, size);
if (token[i].length() < size) if (token[i].length() < size)
return false; return false;