fixed 64bit compilation

git-svn-id: trunk@9771 -
This commit is contained in:
mattias 2006-08-30 08:24:17 +00:00
parent d05adb23c1
commit a8acc7c8ca
2 changed files with 3 additions and 3 deletions

View File

@ -426,7 +426,7 @@ type
IdentifierTool: TFindDeclarationTool;
FoundProc: PFoundProc;
end;
{ TFindDeclarationParams }
TFindDeclarationParams = class(TObject)

View File

@ -927,8 +927,8 @@ function RegExprSubExpressions (const ARegExpr : string;
// check if entire r.e. added
if (ASubExprs.Count = 0)
or ((integer (ASubExprs.Objects [0]) and $FFFF) <> 1)
or (((integer (ASubExprs.Objects [0]) ShR 16) and $FFFF) <> Len)
or ((PtrInt (ASubExprs.Objects [0]) and $FFFF) <> 1)
or (((PtrInt (ASubExprs.Objects [0]) ShR 16) and $FFFF) <> Len)
// whole r.e. wasn't added because it isn't bracketed
// well, we add it now:
then ASubExprs.InsertObject (0, ARegExpr, TObject ((Len ShL 16) or 1));