summaryrefslogtreecommitdiff
path: root/Games/Snake/SnakeGame.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-25 14:49:47 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-25 14:52:35 +0100
commitceec1a7d38d4c8941dbf537b85bd50f0030ffbec (patch)
tree2b137c37ae0f331bb3626583a619a3175ef614d4 /Games/Snake/SnakeGame.h
parent9c6f7d3e7d2252ad2d51f2c7c7379cab867fa477 (diff)
downloadserenity-ceec1a7d38d4c8941dbf537b85bd50f0030ffbec.zip
AK: Make Vector use size_t for its size and capacity
Diffstat (limited to 'Games/Snake/SnakeGame.h')
-rw-r--r--Games/Snake/SnakeGame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Snake/SnakeGame.h b/Games/Snake/SnakeGame.h
index 6ecb5fa099..e015f3fd73 100644
--- a/Games/Snake/SnakeGame.h
+++ b/Games/Snake/SnakeGame.h
@@ -81,7 +81,7 @@ private:
Coordinate m_fruit;
int m_fruit_type { 0 };
- int m_length { 0 };
+ size_t m_length { 0 };
unsigned m_score { 0 };
String m_score_text;
unsigned m_high_score { 0 };