diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-04 01:06:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-04 01:06:42 -0400 |
commit | 38a0a4db2fffbebb5f029550266dbf915a399258 (patch) | |
tree | 84807ccf4f1bdfecf33a958e7cbecb66b067e69d /src | |
parent | 7886985e1390a64a97c63d9ff182a6483dd107cc (diff) | |
download | musl-38a0a4db2fffbebb5f029550266dbf915a399258.tar.gz musl-38a0a4db2fffbebb5f029550266dbf915a399258.tar.xz musl-38a0a4db2fffbebb5f029550266dbf915a399258.zip |
fix invalid implicit pointer conversion in pthread_key_create
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_key_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_key_create.c b/src/thread/pthread_key_create.c index e51cb023..c29935c1 100644 --- a/src/thread/pthread_key_create.c +++ b/src/thread/pthread_key_create.c @@ -17,7 +17,7 @@ int pthread_key_create(pthread_key_t *k, void (*dtor)(void *)) __pthread_self_init(); if (!dtor) dtor = nodtor; do { - if (!a_cas_p(keys+j, 0, dtor)) { + if (!a_cas_p(keys+j, 0, (void *)dtor)) { *k = j; return 0; } |