diff options
author | Bastien Montagne <bastien@blender.org> | 2022-09-15 16:58:21 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-09-15 16:58:21 +0300 |
commit | fbc74c9d938cd06eb952cc1d66f7d00fb00b50ea (patch) | |
tree | d0defef3be08d4ec0005fbd286051942509087a4 | |
parent | f4e6616b835e59000c86fb1ddfff2eb72981a0ad (diff) |
Fix warning-as-errors in older GCC's, take 2.
rBf4e6616b835e did not work for `some reason`, this one has been
verified with gcc 10!
-rw-r--r-- | source/blender/modifiers/intern/MOD_correctivesmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c index 5e5a64ec0e6..f9c6cf8416d 100644 --- a/source/blender/modifiers/intern/MOD_correctivesmooth.c +++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c @@ -143,7 +143,7 @@ static void mesh_get_boundaries(Mesh *mesh, float *smooth_weights) int j; for (j = 0; j < totloop; j++) { uint8_t *e_value = &boundaries[mloop[p->loopstart + j].e]; - *e_value |= (*e_value) + (uint8_t)1; + *e_value |= (uint8_t)((*e_value) + 1); } } |