diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-07 22:49:08 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-07 22:49:08 +0100 |
commit | 1d53902d5a05778a168be6fefc4ccb51135c861e (patch) | |
tree | d3dd732ad2500e676fcbba853591b626c6c042cf /hurd/hurd | |
parent | 58695b88a9deaecbcf7794760cc333177edaa2b4 (diff) |
Import git fix
Diffstat (limited to 'hurd/hurd')
-rw-r--r-- | hurd/hurd/signal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index 8355d67ff3..75820eb795 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 ()); @@ -167,7 +167,7 @@ extern int _hurd_core_limit; _HURD_SIGNAL_H_EXTERN_INLINE void * _hurd_critical_section_lock (void) { - struct hurd_sigstate **location = + struct hurd_sigstate **location = (struct hurd_sigstate **) (void *) __hurd_threadvar_location (_HURD_THREADVAR_SIGSTATE); struct hurd_sigstate *ss = *location; if (ss == NULL) @@ -199,7 +199,7 @@ _hurd_critical_section_unlock (void *our_lock) else { /* It was us who acquired the critical section lock. Unlock it. */ - struct hurd_sigstate *ss = our_lock; + struct hurd_sigstate *ss = (struct hurd_sigstate *) our_lock; sigset_t pending; __spin_lock (&ss->lock); __spin_unlock (&ss->critical_section_lock); |