fix windows build

This commit is contained in:
MihailRis 2025-01-28 05:23:18 +03:00
parent 756ff4a2c7
commit e9a7a32249

View File

@ -32,7 +32,13 @@ void guiutil::alert(
const runnable& on_hidden
) {
auto panel = std::make_shared<Panel>(
glm::vec2(glm::min(650UL, glm::max(text.length() * 10, 200UL)), 300),
glm::vec2(
glm::min(
static_cast<size_t>(650),
glm::max(text.length() * 10, static_cast<size_t>(200))
),
300
),
glm::vec4(4.0f),
4.0f
);