From ceec1a7d38d4c8941dbf537b85bd50f0030ffbec Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 25 Feb 2020 14:49:47 +0100 Subject: AK: Make Vector use size_t for its size and capacity --- Applications/Welcome/TextWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Applications/Welcome/TextWidget.cpp') diff --git a/Applications/Welcome/TextWidget.cpp b/Applications/Welcome/TextWidget.cpp index 8d4bad08d0..882054dafe 100644 --- a/Applications/Welcome/TextWidget.cpp +++ b/Applications/Welcome/TextWidget.cpp @@ -62,7 +62,7 @@ void TextWidget::paint_event(GUI::PaintEvent& event) if (frame_thickness() > 0) indent = font().glyph_width('x') / 2; - for (int i = 0; i < m_lines.size(); i++) { + for (size_t i = 0; i < m_lines.size(); i++) { auto& line = m_lines[i]; auto text_rect = frame_inner_rect(); -- cgit v1.2.3