From 9513a4df26d02f1326f31bccedf9e4dc5cfe3801 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 6 Aug 1998 06:40:50 +0000 Subject: Thu Aug 6 15:19:22 1998 Ross Johnson * cleanup.c (_pthread_destructor_pop_all): Add (int) cast to pthread_getspecific() arg. (_pthread_destructor_pop): Add (void *) cast to "if" conditional. (_pthread_destructor_push): Add (void *) cast to _pthread_handler_push() "key" arg. (malloc.h): Add include. --- implement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'implement.h') diff --git a/implement.h b/implement.h index 9e542c0..3e270c6 100644 --- a/implement.h +++ b/implement.h @@ -45,7 +45,7 @@ typedef struct { /* Macro to compute the address of a given handler stack. */ #define _PTHREAD_STACK(stack) \ - ((_pthread_handler_node_t *) &(pthread_self())->cleanupstack + stack); + ((_pthread_handler_node_t **) &(pthread_self()->cleanupstack) + stack); /* Macro to compute the table index of a thread entry from it's entry address. */ -- cgit v1.2.3