From 6deb1afce2a3dc07c22fc9dbeadf5b034afa827e Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Wed, 28 Nov 2018 18:58:08 +0100 Subject: [PATCH] harmless warnings --- apps/sample/polygonmesh_zonohedra/polygonmesh_zonohedra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sample/polygonmesh_zonohedra/polygonmesh_zonohedra.cpp b/apps/sample/polygonmesh_zonohedra/polygonmesh_zonohedra.cpp index 75b1a1d6..995bad0a 100644 --- a/apps/sample/polygonmesh_zonohedra/polygonmesh_zonohedra.cpp +++ b/apps/sample/polygonmesh_zonohedra/polygonmesh_zonohedra.cpp @@ -89,7 +89,7 @@ void example2(){ z.addVector(a,b,c); } - printf("Building %s from %d vectors...\n",fullMeshFilename, z.vectors().size() ); + printf("Building %s from %lu vectors...\n",fullMeshFilename, z.vectors().size() ); MyMesh m; z.createMesh(m); @@ -106,7 +106,7 @@ void example2(){ } -int main(int argc, char *argv[]){ +int main(int , char **){ example1(); example2(); return 0;