SynEdit: 64 bit compilation

git-svn-id: trunk@24685 -
This commit is contained in:
martin 2010-04-17 19:44:03 +00:00
parent 82200be362
commit 3fce5af5cc
2 changed files with 2 additions and 2 deletions

View File

@ -728,7 +728,7 @@ begin
p := TopCodeFoldBlockType(DownIndex);
if p >= CountDiffCodeFoldBlockOffset then
p := p - PtrUInt(CountDiffCodeFoldBlockOffset);
Result := TDiffCodeFoldBlockType(p);
Result := TDiffCodeFoldBlockType(PtrUInt(p));
end;
function TSynDiffSyn.GetFoldConfigInstance(Index: Integer): TSynCustomFoldConfig;

View File

@ -717,7 +717,7 @@ begin
p := TopCodeFoldBlockType(DownIndex);
if p >= CountLfmCodeFoldBlockOffset then
p := p - PtrUInt(CountLfmCodeFoldBlockOffset);
Result := TLfmCodeFoldBlockType(p);
Result := TLfmCodeFoldBlockType(PtrUInt(p));
end;
function TSynLFMSyn.GetFoldConfigCount: Integer;