Browse Source

warnings

Former-commit-id: 1d842b56e53a26cc869f8c5f2f3d8a11d256bad2
Alec Jacobson 9 years ago
parent
commit
6527433193
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/boolean/mesh_boolean.cpp

+ 1 - 1
include/igl/boolean/mesh_boolean.cpp

@@ -237,7 +237,7 @@ IGL_INLINE void igl::boolean::mesh_boolean(
     for(Index g = 0;g<gm;g++)
     {
       const int ug = IC(g);
-      assert(ug < uG2G.size());
+      assert((size_t) ug < uG2G.size());
       uG2G[ug].push_back(g);
       // is uG(g,:) just a rotated version of G(g,:) ?
       const bool consistent =