1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

LibC: Make it compile on 64-bit

It won't actually work on 64-bit yet, but let's do our future selves
a favor and make it compile.
This commit is contained in:
Andreas Kling 2021-02-25 16:08:02 +01:00
parent 8714f389f9
commit eb08a0edd5
4 changed files with 15 additions and 15 deletions

View file

@ -132,7 +132,7 @@ hostent* gethostbyname(const char* name)
i32 message_id;
i32 name_length;
} request_header = {
sizeof(request_header) - sizeof(request_header.message_size) + name_length,
(u32)(sizeof(request_header) - sizeof(request_header.message_size) + name_length),
lookup_server_endpoint_magic,
1,
(i32)name_length,