From 8b7dbb81b1a2a93f7f9368275d2055a28e986481 Mon Sep 17 00:00:00 2001
From: Pierre Muller <pierre@freepascal.org>
Date: Thu, 18 Apr 2024 08:15:56 +0200
Subject: [PATCH] Update after commit b0076a4709 to fix jvm rtl compilation
 error

---
 rtl/java/justrings.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtl/java/justrings.inc b/rtl/java/justrings.inc
index 786c7c4e40..c386d2af43 100644
--- a/rtl/java/justrings.inc
+++ b/rtl/java/justrings.inc
@@ -626,7 +626,7 @@ function StringToWideChar(const Src : RawByteString;Dest : PWideChar;DestSize :
 
 {$define FPC_HAS_UNICODEFROMLOCALECHARS}
 function UnicodeFromLocaleChars(CodePage, Flags: Cardinal; LocaleStr: PAnsiChar;
-  LocaleStrLen: Integer; UnicodeStr: PWideChar; UnicodeStrLen: Integer): Integer; overload;
+  LocaleStrLen: SizeInt; UnicodeStr: PWideChar; UnicodeStrLen: SizeInt): SizeInt; overload;
 
 var
   temp: widestring;