diff --git a/src/mmg3d/colver_3d.c b/src/mmg3d/colver_3d.c index 1b14746c1..16a684599 100644 --- a/src/mmg3d/colver_3d.c +++ b/src/mmg3d/colver_3d.c @@ -624,8 +624,8 @@ int MMG5_chkcol_bdy(MMG5_pMesh mesh,MMG5_pSol met,MMG5_int k,int8_t iface, * shell because some MG_BDY tags may be missings due to the creation * of an xtetra during a previous collapse */ if ( !(pxt->ftag[i] & MG_BDY) ) { - int16_t tag0,tag1,tag2; - int ref0,ref1,ref2; + int16_t tag0,tag1,tag2; + MMG5_int ref0,ref1,ref2; tag0 = tag1 = tag2 = 0; ref0 = ref1 = ref2 = 0; diff --git a/src/mmg3d/quality_3d.c b/src/mmg3d/quality_3d.c index a790e64db..98724323d 100644 --- a/src/mmg3d/quality_3d.c +++ b/src/mmg3d/quality_3d.c @@ -233,7 +233,7 @@ int MMG3D_computePrilen( MMG5_pMesh mesh, MMG5_pSol met, double* avlen, static double bd[9]= {0.0, 0.3, 0.6, 0.7071, 0.9, 1.3, 1.4142, 2.0, 5.0}; *bd_in = bd; - memset(hl,0,9*sizeof(int)); + memset(hl,0,9*sizeof(MMG5_int)); *ned = 0; *avlen = 0.0; *lmax = 0.0;