Fix warning-as-errors in older GCC's.
Recent compilers (at least gcc 11 and 12) do not report any issue, but gcc 10 does.
This commit is contained in:
@@ -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) + 1;
|
||||
*e_value |= (*e_value) + (uint8_t)1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user