diff options
Diffstat (limited to 'src/local-coords.hpp')
| -rw-r--r-- | src/local-coords.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local-coords.hpp b/src/local-coords.hpp index 1e7fbbed..2d449aae 100644 --- a/src/local-coords.hpp +++ b/src/local-coords.hpp @@ -28,7 +28,7 @@ requires (sizeof(T) <= sizeof(std::size_t)) constexpr local_coords::local_coords(T x, T y) noexcept : x{(std::uint8_t)x}, y{(std::uint8_t)y} { - fm_assert(static_cast<std::size_t>(x) < TILE_MAX_DIM && static_cast<std::size_t>(y) < TILE_MAX_DIM); + fm_assert((std::size_t)x < TILE_MAX_DIM && (std::size_t)y < TILE_MAX_DIM); } } // namespace floormat |
