summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-27 17:26:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-27 17:26:04 +0100
commite4c8d49c656f0ccae3597e7d3c7d48365be81ee5 (patch)
tree2ab25d5aed8f8aa83bb54851ee5f2c5649cd500b
parent9324ce86cec629f577a6e58f3ea18f75daa0dfb2 (diff)
parentc36eb7f102fc0e7964444968bd63a4eb1615034f (diff)
Merge commit 'refs/top-bases/tschwinge/Roger_Whittaker' into tschwinge/Roger_Whittaker
-rw-r--r--hurd/hurd/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index 5e086fd26b..aad9ac44ce 100644
--- a/hurd/hurd/signal.h
+++ b/hurd/hurd/signal.h
@@ -398,18 +398,18 @@ extern mach_msg_timeout_t _hurd_interrupted_rpc_timeout;
do \
{ \
/* Get the message port. */ \
- __err = (fetch_msgport_expr); \
+ __err = (error_t) (fetch_msgport_expr); \
if (__err) \
break; \
/* Get the reference port. */ \
- __err = (fetch_refport_expr); \
+ __err = (error_t) (fetch_refport_expr); \
if (__err) \
{ \
/* Couldn't get it; deallocate MSGPORT and fail. */ \
__mach_port_deallocate (__mach_task_self (), msgport); \
break; \
} \
- __err = (rpc_expr); \
+ __err = (error_t) (rpc_expr); \
__mach_port_deallocate (__mach_task_self (), msgport); \
if ((dealloc_refport) && refport != MACH_PORT_NULL) \
__mach_port_deallocate (__mach_task_self (), refport); \