Fix warning (#1796)

develop
lethosor 2021-03-27 00:11:50 -04:00
parent d61c4aa234
commit 572b6ebab5
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -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);
}
}