aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-11-26 16:07:39 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-11-26 16:07:39 +0000
commit59ef17152b1ad9a4c4d618ec085586e3e14f6e94 (patch)
tree028875a2fdf86b94221c935aba752fc800a82055 /ChangeLog
parenta6f3079bfb8355b07bdc5eb578e2e77ff306a778 (diff)
downloadglibc-59ef17152b1ad9a4c4d618ec085586e3e14f6e94.zip
glibc-59ef17152b1ad9a4c4d618ec085586e3e14f6e94.tar.gz
glibc-59ef17152b1ad9a4c4d618ec085586e3e14f6e94.tar.bz2
Fix nptl/tst-cancel-self-cancelstate.c warning.
This patch fixes "../sysdeps/nptl/pthread.h:670:26: warning: initialization discards 'volatile' qualifier from pointer target type" arising when building nptl/tst-cancel-self-cancelstate.c. The problem is passing a volatile int * to a macro expecting void *; the patch adds an explicit cast. Tested for x86_64. * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of pthread_cleanup_push to void *.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f43cb09..0797a15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-11-26 Joseph Myers <joseph@codesourcery.com>
+ * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
+ pthread_cleanup_push to void *.
+
* sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
Undefine.