mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
hurd: Fix vm_size_t incoherencies
In gnumach, 3e1702a65fb3 ("add rpc_versions for vm types") changed the type of vm_size_t, making it always a unsigned long. This made it incompatible on x86 with size_t. Even if we may want to revert it to unsigned int, it's better to fix the types of parameters according to the .defs files.
This commit is contained in:
@@ -42,7 +42,7 @@ __sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count)
|
||||
count));
|
||||
if (err == 0)
|
||||
{
|
||||
size_t nwrote;
|
||||
vm_size_t nwrote;
|
||||
if (datalen == 0)
|
||||
return 0;
|
||||
err = HURD_DPORT_USE (out_fd, __io_write (port, data, datalen,
|
||||
|
Reference in New Issue
Block a user