From d49cf2a97c1a6fb27342ae3843978e616ab09073 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Tue, 13 Feb 2018 19:37:05 +0100 Subject: [PATCH] harmless clang warning --- wrap/io_trimesh/import_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }