* another ARM data alignment issue was fixed.

git-svn-id: trunk@1333 -
This commit is contained in:
yury 2005-10-08 13:48:03 +00:00
parent 66bb1e0a95
commit a6b84b93e1

View File

@ -649,7 +649,11 @@ begin
old_display_extra_info_proc:=pp^.extra_info^.displayproc;
end;
{ Do the real ReAllocMem, but alloc also for the info block }
{$ifdef cpuarm}
allocsize:=(size + 3) and not 3+sizeof(theap_mem_info)+pp^.extra_info_size;
{$else cpuarm}
allocsize:=size+sizeof(theap_mem_info)+pp^.extra_info_size;
{$endif cpuarm}
if add_tail then
inc(allocsize,sizeof(ptrint));
{ Try to resize the block, if not possible we need to do a