summaryrefslogtreecommitdiff
path: root/tsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tsd.c')
-rw-r--r--tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsd.c b/tsd.c
index 491769f..cd80ff9 100644
--- a/tsd.c
+++ b/tsd.c
@@ -64,7 +64,7 @@ pthread_key_create (pthread_key_t * key, void (*destructor) (void *))
*/
{
int result = 0;
- pthread_key_t *newkey;
+ pthread_key_t newkey;
if ((newkey = (pthread_key_t) calloc (1, sizeof (*newkey))) == NULL)
{