mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 13:13:25 +02:00
* 64-bit fix + mantis #29111, fix cmsghdr in an unit that is not actively compiled.
git-svn-id: trunk@32557 -
This commit is contained in:
parent
3ff265da88
commit
11dd843f77
@ -29,6 +29,6 @@ end;
|
||||
|
||||
function CMSG_DATA(cmsg: Pointer): PByte;
|
||||
begin
|
||||
Result:=PByte(Cardinal(cmsg) + SizeOf(Pcmsghdr));
|
||||
Result:=PByte(Ptruint(cmsg) + SizeOf(cmsghdr));
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user