From 69d9a4450af25730d074530e37f7553ddc97efcf Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 29 Oct 2003 22:24:25 +0000
Subject: [PATCH] Fix 2 gcc warnings

---
 Mesh/3D_Extrude.cpp | 4 ++--
 Parser/Gmsh.tab.cpp | 4 ++--
 Parser/Gmsh.y       | 4 ++--
 Parser/Gmsh.yy.cpp  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Mesh/3D_Extrude.cpp b/Mesh/3D_Extrude.cpp
index cbb2c79028..100c6efc94 100644
--- a/Mesh/3D_Extrude.cpp
+++ b/Mesh/3D_Extrude.cpp
@@ -1,4 +1,4 @@
-// $Id: 3D_Extrude.cpp,v 1.65 2003-10-26 16:53:12 geuzaine Exp $
+// $Id: 3D_Extrude.cpp,v 1.66 2003-10-29 22:24:24 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -898,7 +898,7 @@ int Extrude_Mesh(Curve * c)
       List_Add(c->Vertices, &newv);
     }
 
-    int k = 0, iEnt;
+    int k = 0;
     for(i = 0; i < ep->mesh.NbLayer; i++) {
       for(j = 0; j < ep->mesh.NbElmLayer[i]; j++) {
 	if(k >= List_Nbr(c->Vertices) - 1){
diff --git a/Parser/Gmsh.tab.cpp b/Parser/Gmsh.tab.cpp
index b1783f6ebc..83c5b34675 100644
--- a/Parser/Gmsh.tab.cpp
+++ b/Parser/Gmsh.tab.cpp
@@ -189,7 +189,7 @@
 
 #line 1 "Gmsh.y"
  
-// $Id: Gmsh.tab.cpp,v 1.164 2003-09-22 07:26:38 geuzaine Exp $
+// $Id: Gmsh.tab.cpp,v 1.165 2003-10-29 22:24:24 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -8390,7 +8390,7 @@ int PrintListOfDouble(char *format, List_T *list, char *buffer){
   char tmp1[256], tmp2[256];
 
   j=0;
-  while(j < strlen(format) && format[j]!='%') j++;
+  while(j < (int)strlen(format) && format[j]!='%') j++;
   strncpy(buffer, format, j); 
   buffer[j]='\0'; 
   for(i = 0; i < List_Nbr(list); i++){
diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y
index 82fb9cf5c1..79b2a0d1a0 100644
--- a/Parser/Gmsh.y
+++ b/Parser/Gmsh.y
@@ -1,5 +1,5 @@
 %{ 
-// $Id: Gmsh.y,v 1.144 2003-09-22 07:26:39 geuzaine Exp $
+// $Id: Gmsh.y,v 1.145 2003-10-29 22:24:24 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
@@ -3410,7 +3410,7 @@ int PrintListOfDouble(char *format, List_T *list, char *buffer){
   char tmp1[256], tmp2[256];
 
   j=0;
-  while(j < strlen(format) && format[j]!='%') j++;
+  while(j < (int)strlen(format) && format[j]!='%') j++;
   strncpy(buffer, format, j); 
   buffer[j]='\0'; 
   for(i = 0; i < List_Nbr(list); i++){
diff --git a/Parser/Gmsh.yy.cpp b/Parser/Gmsh.yy.cpp
index 3f1968b799..2f118d448a 100644
--- a/Parser/Gmsh.yy.cpp
+++ b/Parser/Gmsh.yy.cpp
@@ -2,7 +2,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.163 2003-09-22 07:26:40 geuzaine Exp $
+ * $Header: /cvsroot/gmsh/Parser/Gmsh.yy.cpp,v 1.164 2003-10-29 22:24:25 geuzaine Exp $
  */
 
 #define FLEX_SCANNER
@@ -1013,7 +1013,7 @@ char *yytext;
 #define INITIAL 0
 #line 2 "Gmsh.l"
 
-// $Id: Gmsh.yy.cpp,v 1.163 2003-09-22 07:26:40 geuzaine Exp $
+// $Id: Gmsh.yy.cpp,v 1.164 2003-10-29 22:24:25 geuzaine Exp $
 //
 // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 //
-- 
GitLab