diff --git a/wrap/io_trimesh/import_obj.h b/wrap/io_trimesh/import_obj.h index 9ffe8e6c..9a924dc8 100644 --- a/wrap/io_trimesh/import_obj.h +++ b/wrap/io_trimesh/import_obj.h @@ -915,7 +915,7 @@ namespace vcg { if (firstV) { int sepN = 0; - for (int lit = 0; lit < line.size(); lit++){ + for (size_t lit = 0; lit < line.size(); lit++){ if ((line[lit] == ' ') || (line[lit] == '\t')) sepN++; }