mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-27 16:31:44 +01: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;
|
function CMSG_DATA(cmsg: Pointer): PByte;
|
||||||
begin
|
begin
|
||||||
Result:=PByte(Cardinal(cmsg) + SizeOf(Pcmsghdr));
|
Result:=PByte(Ptruint(cmsg) + SizeOf(cmsghdr));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user