mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 18:47:56 +02:00
* Avoid range error in comparisons
This commit is contained in:
parent
d44c60b58d
commit
44c859ae0a
@ -474,7 +474,7 @@
|
||||
|
||||
var
|
||||
methodtable : pmethodnametable;
|
||||
i : dword;
|
||||
i : longint; // in case count=0
|
||||
ovmt : PVmt;
|
||||
|
||||
begin
|
||||
@ -500,7 +500,7 @@
|
||||
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