summaryrefslogtreecommitdiff
path: root/LibGUI/GObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-25 22:06:55 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-25 22:06:55 +0100
commit9624b54703f87a690dab7d5c59c37f53ad47594e (patch)
tree6c12fca22fea816236585e850916efd3535c37b9 /LibGUI/GObject.cpp
parentbeda4788216509fdf846e5bb6f6000b8b542ca11 (diff)
downloadserenity-9624b54703f87a690dab7d5c59c37f53ad47594e.zip
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
Diffstat (limited to 'LibGUI/GObject.cpp')
-rw-r--r--LibGUI/GObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GObject.cpp b/LibGUI/GObject.cpp
index 985d459c00..f033ec86dc 100644
--- a/LibGUI/GObject.cpp
+++ b/LibGUI/GObject.cpp
@@ -43,7 +43,7 @@ void GObject::add_child(GObject& object)
void GObject::remove_child(GObject& object)
{
- for (unsigned i = 0; i < m_children.size(); ++i) {
+ for (ssize_t i = 0; i < m_children.size(); ++i) {
if (m_children[i] == &object) {
m_children.remove(i);
return;