mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 23:09:00 +08:00
Fix a compiler warning in TriangleSelector.
This commit is contained in:
parent
0cfbb5a437
commit
e305594f2b
@ -1560,7 +1560,7 @@ TriangleSelector::TriangleSplittingData TriangleSelector::serialize() const {
|
||||
} else {
|
||||
// In case this is leaf, we better save information about its state.
|
||||
int n = int(tr.get_state());
|
||||
if (n < static_cast<size_t>(TriangleStateType::Count))
|
||||
if (n < static_cast<int>(TriangleStateType::Count))
|
||||
data.used_states[n] = true;
|
||||
|
||||
if (n >= 3) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user