summaryrefslogtreecommitdiff
path: root/LibGUI/GObject.cpp
diff options
context:
space:
mode:
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;