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!
This commit is contained in:
Bastien Montagne 2022-09-15 15:58:21 +02:00
parent f4e6616b83
commit fbc74c9d93
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}