Skip to content

Commit

Permalink
Fix compiler warning [-Wsign-compare]
Browse files Browse the repository at this point in the history
  • Loading branch information
Albrecht Schlosser committed Dec 19, 2024
1 parent 809dae4 commit 9f66df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_Help_View.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ Fl_Help_View::find(const char *s, // I - String to find
//printf("%ld text match %c/%c\n", bp-value_, *sp, c);
sp++;
bp = vanilla(bp+1, b->end);
} else if (is_html_entity && fl_utf8decode(sp, NULL, &utf_len) == c ) {
} else if (is_html_entity && fl_utf8decode(sp, NULL, &utf_len) == (unsigned int)c ) {
// Check if a < entity ini html matches a UTF-8 character in the
// search string.
//printf("%ld unicode match 0x%02X 0x%02X\n", bp-value_, *sp, c);
Expand Down

0 comments on commit 9f66df5

Please sign in to comment.