1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +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:
Samuel Thibault
2022-08-29 01:42:47 +02:00
parent cb033e6b0c
commit 063f7462da
12 changed files with 18 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ _hurd_fd_write (struct hurd_fd *fd,
const void *buf, size_t *nbytes, loff_t offset)
{
error_t err;
mach_msg_type_number_t wrote;
vm_size_t wrote;
error_t writefd (io_t port)
{