From cafc80173103c281e34bf3b1863a9ab8dd6ac0a8 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 20 Apr 2015 07:16:25 +0000
Subject: [PATCH] tentative fix

---
 Plugin/FaultZone.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Plugin/FaultZone.cpp b/Plugin/FaultZone.cpp
index 516fac0653..84e936892f 100644
--- a/Plugin/FaultZone.cpp
+++ b/Plugin/FaultZone.cpp
@@ -565,7 +565,7 @@ void GMSH_FaultZoneMesher::CreateJointElements(GModel* gModel, GFace* gFace,
         continue;
 
       SPoint3 bary = mElem->barycenter();
-      std::vector<MVertex*> mVerts(8, NULL);
+      std::vector<MVertex*> mVerts(8, (MVertex*)0);
 
       // check orientation
       SVector3 nor = _vectNormByFissure[gEdge];
-- 
GitLab