diff --git a/Plugin/FaultZone.cpp b/Plugin/FaultZone.cpp
index 516fac0653ae47cc435c599ebbf8f774cf4def03..84e936892f489ba274333d22616bba55daf8ac14 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];