Skip to content

Commit 26b9323

Browse files
committed
Fix type int -> size_t
1 parent d76611d commit 26b9323

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/game.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <le2d/event.hpp>
55
#include <le2d/renderer.hpp>
66
#include <le2d/service_locator.hpp>
7+
#include <cstddef>
78
#include "enemy.hpp"
89
#include "lighhouse.hpp"
910

@@ -23,7 +24,7 @@ class Game {
2324
le::drawable::Circle m_circle{};
2425
Lighthouse m_lighthouse;
2526
glm::vec2 m_cursor_pos{};
26-
int m_wave_count{};
27+
std::size_t m_wave_count{};
2728
bool m_running{true};
2829
kvf::Seconds m_wave_interval{};
2930
kvf::Seconds m_time_since_last_wave_spawn{};

0 commit comments

Comments
 (0)