From aecb23868fcb8bde877cb338863cc3c0b9f86a00 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Tue, 20 Feb 2018 23:26:04 +0100 Subject: [PATCH] harmless warning --- wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h b/wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h index 840a7af7..e434e086 100644 --- a/wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h +++ b/wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h @@ -296,7 +296,7 @@ namespace vcg if (_glopts != NULL) { std::string tmp; - int size = _glopts->serialize(tmp); + size_t size = _glopts->serialize(tmp); token[i] = str.substr(pos, size); if (token[i].length() < size) return false;