mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 02:06:10 +02:00
Use ptruint type in typecast to avoid warning
git-svn-id: trunk@17872 -
This commit is contained in:
parent
4d50a95320
commit
32d919f543
@ -598,14 +598,14 @@ Interface
|
|||||||
fillchar(actcondition,sizeof(actcondition),0);
|
fillchar(actcondition,sizeof(actcondition),0);
|
||||||
|
|
||||||
{ Search opcodes }
|
{ Search opcodes }
|
||||||
actopcode:=tasmop(PtrInt(iasmops.Find(s)));
|
actopcode:=tasmop(PtrUInt(iasmops.Find(s)));
|
||||||
if actopcode<>A_NONE then
|
if actopcode<>A_NONE then
|
||||||
begin
|
begin
|
||||||
actasmtoken:=AS_OPCODE;
|
actasmtoken:=AS_OPCODE;
|
||||||
result:=TRUE;
|
result:=TRUE;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ not found, check branch instructions }
|
{ not found, check branch instructions }
|
||||||
if (Upcase(s[1])='B') or
|
if (Upcase(s[1])='B') or
|
||||||
((Upcase(s[1])='F') and (Upcase(s[2])='B')) then
|
((Upcase(s[1])='F') and (Upcase(s[2])='B')) then
|
||||||
|
Loading…
Reference in New Issue
Block a user