From 572b6ebab5aa3e6fea24a5fef57b2db2f129207c Mon Sep 17 00:00:00 2001 From: lethosor Date: Sat, 27 Mar 2021 00:11:50 -0400 Subject: [PATCH] Fix warning (#1796) --- plugins/xlsxreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/xlsxreader.cpp b/plugins/xlsxreader.cpp index e17be096b..014fa117a 100644 --- a/plugins/xlsxreader.cpp +++ b/plugins/xlsxreader.cpp @@ -118,7 +118,7 @@ int get_row(lua_State *L) { // read all cells in the row, even if we don't need to; // otherwise xlsxio will return a spurious empty row on // next call - if (max_tokens <= 0 || cells.size() < max_tokens) { + if (max_tokens <= 0 || int(cells.size()) < max_tokens) { cells.push_back(value); } }