Skip to content

Commit d3e50cf

Browse files
committed
More signed/unsigned fixes
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 5490081 commit d3e50cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittest/paragraphs_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ void AsciiToRowInfo(const char *text, int row_number, RowInfo *info) {
6666

6767
info->lword_text = words[0].c_str();
6868
info->rword_text = words[words.size() - 1].c_str();
69-
int lspace = 0;
69+
unsigned lspace = 0;
7070
while (lspace < info->text.size() && text[lspace] == ' ') {
7171
lspace++;
7272
}
73-
int rspace = 0;
73+
unsigned rspace = 0;
7474
while (rspace < info->text.size() && text[info->text.size() - rspace - 1] == ' ') {
7575
rspace++;
7676
}

0 commit comments

Comments
 (0)