summaryrefslogtreecommitdiff
path: root/condvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'condvar.c')
-rw-r--r--condvar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/condvar.c b/condvar.c
index f55fefa..37d92e6 100644
--- a/condvar.c
+++ b/condvar.c
@@ -48,7 +48,7 @@ pthread_condattr_init (pthread_condattr_t * attr)
pthread_condattr_t attr_result;
int result = 0;
- attr_result = calloc (1, sizeof (*attr_result));
+ attr_result = (pthread_condattr_t) calloc (1, sizeof (*attr_result));
if (attr_result == NULL)
{