Use unsigned local variable NetAddrToStr to avoid range check error

This commit is contained in:
Pierre Muller 2025-05-25 05:55:07 +00:00
parent a841bccf75
commit 6d22408256

View File

@ -278,8 +278,8 @@ Type array4int = array[1..4] of byte;
function NetAddrToStr (Entry : in_addr) : AnsiString;
Var Dummy : Ansistring;
i,j : Longint;
i : Longint;
j : Cardinal;
begin
NetAddrToStr:='';
j:=entry.s_addr;