mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 06:47:53 +02:00
* Avoid range error in comparisons
This commit is contained in:
parent
30bf8047aa
commit
c39e51485c
@ -548,7 +548,7 @@ end;
|
||||
|
||||
var
|
||||
methodtable : pmethodnametable;
|
||||
i : dword;
|
||||
i : longint; // in case count=0
|
||||
ovmt : PVmt;
|
||||
|
||||
begin
|
||||
@ -574,7 +574,7 @@ end;
|
||||
class function TObject.MethodName(address : codepointer) : shortstring;
|
||||
var
|
||||
methodtable : pmethodnametable;
|
||||
i : dword;
|
||||
i : longint; // in case count=0
|
||||
ovmt : PVmt;
|
||||
begin
|
||||
ovmt:=PVmt(self);
|
||||
|
Loading…
Reference in New Issue
Block a user