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:
parent
c41249d436
commit
f4e6616b83
Notes:
blender-bot
2023-02-14 04:24:05 +01:00
Referenced by commit fbc74c9d93
, Fix warning-as-errors in older GCC's, take 2.
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue