mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 00:09:09 +02:00
Use unsigned local variable NetAddrToStr to avoid range check error
This commit is contained in:
parent
a841bccf75
commit
6d22408256
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user