Fix some truncation warnings

Amusingly, reported by MSVC only
This commit is contained in:
ISSOtm
2026-03-10 01:31:23 -04:00
parent 65b0b49720
commit d054f07703
3 changed files with 3 additions and 3 deletions

View File

@@ -76,5 +76,5 @@ std::pair<WarningState, std::optional<uint32_t>> getInitialWarningState(std::str
}
}
return {state, param > UINT32_MAX ? UINT32_MAX : param};
return {state, param > UINT32_MAX ? UINT32_MAX : uint32_t(param)};
}