mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 02:28:22 +02:00
* properly calcualte aligncount as proposed by Jeppe, should resolve #33323
git-svn-id: trunk@40449 -
This commit is contained in:
parent
31ae109a31
commit
90557f2e62
@ -76,7 +76,7 @@ begin
|
||||
then
|
||||
begin
|
||||
{ Align on native pointer size }
|
||||
aligncount:=(PtrUInt(pdest) and (sizeof(PtrUInt)-1));
|
||||
aligncount:=(sizeof(PtrUInt)-PtrInt(pdest)) and (sizeof(PtrUInt)-1);
|
||||
dec(count,aligncount);
|
||||
pend:=psrc+aligncount;
|
||||
while psrc<pend do
|
||||
|
Loading…
Reference in New Issue
Block a user