summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/DisjointRectSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGfx/DisjointRectSet.h')
-rw-r--r--Libraries/LibGfx/DisjointRectSet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGfx/DisjointRectSet.h b/Libraries/LibGfx/DisjointRectSet.h
index 538dfc9c4c..7b1c319141 100644
--- a/Libraries/LibGfx/DisjointRectSet.h
+++ b/Libraries/LibGfx/DisjointRectSet.h
@@ -43,7 +43,7 @@ public:
void add(const Rect&);
bool is_empty() const { return m_rects.is_empty(); }
- int size() const { return m_rects.size(); }
+ size_t size() const { return m_rects.size(); }
void clear() { m_rects.clear(); }
void clear_with_capacity() { m_rects.clear_with_capacity(); }