[Bf-blender-cvs] [fb3a0a34b4d] master: Fix: Build error with flag usage and strict warnings

Hans Goudey noreply at git.blender.org
Thu Mar 24 18:54:43 CET 2022


Commit: fb3a0a34b4d2d2e777578d28626558670b717f3b
Author: Hans Goudey
Date:   Thu Mar 24 12:54:07 2022 -0500
Branches: master
https://developer.blender.org/rBfb3a0a34b4d2d2e777578d28626558670b717f3b

Fix: Build error with flag usage and strict warnings

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

M	source/blender/modifiers/intern/MOD_solidify_nonmanifold.c

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

diff --git a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
index 7c1cf326c60..d896cab4688 100644
--- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
+++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
@@ -1990,7 +1990,7 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md,
     /* delete all vertex creases in the result if a rim is used. */
     if (do_rim) {
       CustomData_free_layers(&result->vdata, CD_CREASE, result->totvert);
-      result->cd_flag &= ~ME_CDFLAG_VERT_CREASE;
+      result->cd_flag &= (char)(~ME_CDFLAG_VERT_CREASE);
     }
   }



More information about the Bf-blender-cvs mailing list