about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index e332242291..f844f0e2ea 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 ());