On 11 Jun 2010, at 10:54, Yavor Doganov wrote: > -# define GS_INIT_RECURSIVE_MUTEX(x) x = > PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP > +# define GS_INIT_RECURSIVE_MUTEX(x) x = (pthread_mutex_t) > PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP > # elif defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER) > -# define GS_INIT_RECURSIVE_MUTEX(x) x = > PTHREAD_RECURSIVE_MUTEX_INITIALIZER > +# define GS_INIT_RECURSIVE_MUTEX(x) x = (pthread_mutex_t) > PTHREAD_RECURSIVE_MUTEX_INITIALIZER
I'm not sure why this explicit cast should be required. The type of both of these should be pthread_mutex_t. David -- Sent from my Apple II _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev