summaryrefslogtreecommitdiff
path: root/textwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'textwindow.c')
-rw-r--r--textwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textwindow.c b/textwindow.c
index efe5dcd..16327ea 100644
--- a/textwindow.c
+++ b/textwindow.c
@@ -341,7 +341,7 @@ void cNopacityTextWindow::DrawTextWrapperFloat(const char *text, int widthSmall,
int y = top;
int linesDrawn = 0;
bool drawNarrow = true;
- for (int i=0; i<flds.size(); i++) {
+ for (long unsigned int i = 0; i < flds.size(); i++) {
if (!flds[i].size()) {
//empty line
linesDrawn++;