summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h2
1 files changed, 1 insertions, 1 deletions
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. */