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:
parent
f4e6616b83
commit
fbc74c9d93
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue