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