From f55ba7cf62c91a5147f2574a07937b2b60d7fc81 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 31 Mar 2010 20:23:53 +0000
Subject: [PATCH] fix warn

---
 Geo/GEdge.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Geo/GEdge.h b/Geo/GEdge.h
index 2bab3d6e35..36a0680bdc 100644
--- a/Geo/GEdge.h
+++ b/Geo/GEdge.h
@@ -121,9 +121,12 @@ class GEdge : public GEntity {
   // true if start == end and no more than 2 segments
   void setTooSmall(bool b) { _tooSmall = b; }
   bool isMeshDegenerated() const 
-  { if (_tooSmall) printf("too small \n");
-    if (v0 == v1 && mesh_vertices.size() < 2) printf("mesh_vertices.size() =%d \n", mesh_vertices.size());
-    return _tooSmall || (v0 == v1 && mesh_vertices.size() < 2); }
+  { 
+    if (_tooSmall) printf("too small \n");
+    if (v0 == v1 && mesh_vertices.size() < 2)
+      printf("mesh_vertices.size() = %d \n", (int)mesh_vertices.size());
+    return _tooSmall || (v0 == v1 && mesh_vertices.size() < 2);
+  }
 
   // number of types of elements
   int getNumElementTypes() const { return 1; }
-- 
GitLab