Commit 614e2c3b for tesseract

commit 614e2c3b6ebfd66042c41e34ddd7961ef9bbff27
Author: Stefan Weil <sw@weilnetz.de>
Date:   Thu Jul 16 18:31:53 2026 +0200

    Use unsigned arguments for a function and an operator in class RecodedCharID

    Signed-off-by: Stefan Weil <sw@weilnetz.de>

diff --git a/src/ccutil/unicharcompress.h b/src/ccutil/unicharcompress.h
index e8aac12d..9b696d03 100644
--- a/src/ccutil/unicharcompress.h
+++ b/src/ccutil/unicharcompress.h
@@ -39,7 +39,7 @@ public:
   RecodedCharID() : self_normalized_(1), length_(0) {
     code_.fill(0);
   }
-  void Truncate(int length) {
+  void Truncate(uint32_t length) {
     length_ = length;
   }
   // Sets the code value at the given index in the code.
@@ -67,7 +67,7 @@ public:
   uint32_t length() const {
     return length_;
   }
-  int operator()(int index) const {
+  int operator()(uint32_t index) const {
     return code_[index];
   }