mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +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:
parent
8714f389f9
commit
eb08a0edd5
4 changed files with 15 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue