From 22395607bcc8caa4dc9cf17f6fd141ea6395fcda Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 7 Feb 2015 22:35:35 +0100 Subject: hurd: fix compilation of signal.h in C++ --- hurd/hurd/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd') diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index e332242..f844f0e 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -132,7 +132,7 @@ extern struct hurd_sigstate *_hurd_self_sigstate (void) _HURD_SIGNAL_H_EXTERN_INLINE struct hurd_sigstate * _hurd_self_sigstate (void) { - struct hurd_sigstate **location = + struct hurd_sigstate **location = (struct hurd_sigstate **) (void *) __hurd_threadvar_location (_HURD_THREADVAR_SIGSTATE); if (*location == NULL) *location = _hurd_thread_sigstate (__mach_thread_self ()); -- cgit v1.1