diff options
Diffstat (limited to 'hurd/hurd')
-rw-r--r-- | hurd/hurd/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/port.h b/hurd/hurd/port.h index fdba8db5ed..1e473978d8 100644 --- a/hurd/hurd/port.h +++ b/hurd/hurd/port.h @@ -96,7 +96,7 @@ _hurd_port_locked_get (struct hurd_port *port, if (result != MACH_PORT_NULL) { link->cleanup = &_hurd_port_cleanup; - link->cleanup_data = (void *) result; + link->cleanup_data = (void *) (uintptr_t) result; _hurd_userlink_link (&port->users, link); } __spin_unlock (&port->lock); |