From 9f66df51b0e8a04531a4a91ff019375ebbc45bae Mon Sep 17 00:00:00 2001
From: Albrecht Schlosser <albrechts.fltk@online.de>
Date: Thu, 19 Dec 2024 17:26:42 +0100
Subject: [PATCH] Fix compiler warning [-Wsign-compare]

---
 src/Fl_Help_View.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index fe18e6c7ca..e256931c30 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 &lt; 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);