Commit 86f1a7c7 for tesseract

commit 86f1a7c72759c7a51f9f09978aaa66d875e5f198
Author: Stefan Weil <sw@weilnetz.de>
Date:   Mon Feb 9 12:59:34 2026 +0100

    Replace old-style casts in PAGE renderer

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

diff --git a/src/api/pagerenderer.cpp b/src/api/pagerenderer.cpp
index 719963ae..41781b74 100644
--- a/src/api/pagerenderer.cpp
+++ b/src/api/pagerenderer.cpp
@@ -1091,11 +1091,11 @@ char *TessBaseAPI::GetPAGEText(ETEXT_DESC *monitor, int page_number) {
           block_top_pts = TransposePolygonline(block_top_pts);
         }
         ptaGetMinMax(block_top_pts, &x1, &y1, &x2, &y2);
-        page_str << (l_uint32)x1 << "," << (l_uint32)y1;
-        page_str << " " << (l_uint32)x2 << "," << (l_uint32)y1;
-        page_str << " " << (l_uint32)x2 << "," << (l_uint32)y2;
-        page_str << " " << (l_uint32)x1 << "," << (l_uint32)y2;
-        page_str << "\"/>\n";
+        page_str << static_cast<uint32_t>(x1) << "," << static_cast<uint32_t>(y1) << ' '
+                 << static_cast<uint32_t>(x2) << "," << static_cast<uint32_t>(y1) << ' '
+                 << static_cast<uint32_t>(x2) << "," << static_cast<uint32_t>(y2) << ' '
+                 << static_cast<uint32_t>(x1) << "," << static_cast<uint32_t>(y2)
+                 << "\"/>\n";
         block_top_pts = DestroyAndCreatePta(block_top_pts);
         block_bottom_pts = DestroyAndCreatePta(block_bottom_pts);
       }