diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-12-19 17:26:42 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-12-19 17:26:42 +0100 |
| commit | 9f66df51b0e8a04531a4a91ff019375ebbc45bae (patch) | |
| tree | 1ab382213d5c59bede0e2037afc709e27df2362c /src | |
| parent | 809dae489ddf4755d1c546253f48ca2cf6ec800b (diff) | |
Fix compiler warning [-Wsign-compare]
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Help_View.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index fe18e6c7c..e256931c3 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -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); |
