aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r--src/game/game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 2c00b4b..921f21d 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -82,7 +82,7 @@ void Game::on_start()
statusline->set_section_style(
StatusLineSection::A,
- {.bg_color = static_cast<uint32_t>(fmt::color::green),
+ {.bg_color = static_cast<std::uint32_t>(fmt::color::green),
.bold = true,
.padding_left = 1U,
.padding_right = 1U});
@@ -443,7 +443,7 @@ void Game::_on_command_mode_update() noexcept
{
const auto position = _cursor_controller->where();
- const auto input_pos_x = static_cast<uint32_t>(position.get_x()) - 1U;
+ const auto input_pos_x = static_cast<std::uint32_t>(position.get_x()) - 1U;
if (input_pos_x == 0U)
{
@@ -480,7 +480,7 @@ void Game::_on_command_mode_update() noexcept
break;
case keycodes::RIGHT_ARROW:
- if (static_cast<uint32_t>(_cursor_controller->where().get_x()) - 1U <
+ if (static_cast<std::uint32_t>(_cursor_controller->where().get_x()) - 1U <
_command_mode_input.size())
{
_cursor_controller->move(Vector2::right(), 1U, true);
@@ -495,7 +495,7 @@ void Game::_on_command_mode_update() noexcept
default:
const auto position = _cursor_controller->where();
- const auto input_pos_x = static_cast<uint32_t>(position.get_x()) - 1U;
+ const auto input_pos_x = static_cast<std::uint32_t>(position.get_x()) - 1U;
if (input_pos_x < _command_mode_input.length())
{