[Bf-blender-cvs] [552e44bd25d] temp_bmesh_multires: Fix implicit int error

Joseph Eagar noreply at git.blender.org
Thu May 27 23:30:58 CEST 2021


Commit: 552e44bd25d746ff076364b9e0c66f171f94f98a
Author: Joseph Eagar
Date:   Thu May 27 14:30:45 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB552e44bd25d746ff076364b9e0c66f171f94f98a

Fix implicit int error

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_face_set.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.c b/source/blender/editors/sculpt_paint/sculpt_face_set.c
index 5256979e8a7..f0f15fe3e3f 100644
--- a/source/blender/editors/sculpt_paint/sculpt_face_set.c
+++ b/source/blender/editors/sculpt_paint/sculpt_face_set.c
@@ -523,7 +523,7 @@ static int sculpt_face_set_create_exec(bContext *C, wmOperator *op)
     BMesh *bm;
     BMFace *f;
     BMIter iter;
-    const totface = ss->totfaces;
+    const int totface = ss->totfaces;
 
     for (int i = 0; i < totface; i++) {
       SculptFaceRef fref = BKE_pbvh_table_index_to_face(ss->pbvh, i);



More information about the Bf-blender-cvs mailing list