From c13d4b311fd4662fa889476f3c75a8b23b417cd1 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 21 Sep 2011 08:57:55 +0000
Subject: [PATCH] fix compile

---
 Common/DefaultOptions.h    | 2 +-
 Post/PViewDataGModelIO.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h
index 020cd45885..3013f2aa62 100644
--- a/Common/DefaultOptions.h
+++ b/Common/DefaultOptions.h
@@ -589,7 +589,7 @@ StringXNumber GeneralOptions_Number[] = {
     "Vertical position (in pixels) of the upper left corner of the contextual "
     "windows" }, 
 
-  { F|O, "DisplayBorderFactor" , opt_general_display_border_factor , 0.15 ,
+  { F|O, "DisplayBorderFactor" , opt_general_display_border_factor , 0.2 ,
     "Border factor for model display (0: model fits window size exactly)" },
   { F|O, "DoubleBuffer" , opt_general_double_buffer , 1. ,
     "Use a double buffered graphic window (on Unix, should be set to 0 when "
diff --git a/Post/PViewDataGModelIO.cpp b/Post/PViewDataGModelIO.cpp
index 72021cee29..45d30dfd1b 100644
--- a/Post/PViewDataGModelIO.cpp
+++ b/Post/PViewDataGModelIO.cpp
@@ -434,7 +434,7 @@ bool PViewDataGModel::readMED(std::string fileName, int fileIndex)
       // Gauss points or the number of nodes per element into account,
       // but not the number of components)
 #if (MED_MAJOR_NUM == 3)
-      int profileSize;
+      med_int profileSize;
       med_int numVal = MEDfieldnValueWithProfile(fid, name, numdt, numit, ent, ele,
                                                  1, MED_COMPACT_STMODE, profileName,
                                                  &profileSize, locName, &ngauss);
-- 
GitLab