about summary refs log tree commit diff
path: root/elf/tst-execstack.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-10-30 09:26:00 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-30 09:26:00 -0700
commit3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5 (patch)
tree416f205441a43d43ab6cff3edf559eefe4175602 /elf/tst-execstack.c
parent1c52a97a1eca78699c7c115857a2c36d9e53cf64 (diff)
downloadglibc-3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5.tar.gz
glibc-3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5.tar.xz
glibc-3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5.zip
Add cast in tst-execstack to avoid warning.
Diffstat (limited to 'elf/tst-execstack.c')
-rw-r--r--elf/tst-execstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-execstack.c b/elf/tst-execstack.c
index a835e4c0d6..6632e53367 100644
--- a/elf/tst-execstack.c
+++ b/elf/tst-execstack.c
@@ -148,7 +148,7 @@ do_test (void)
      Let them run to test it.  */
   pthread_barrier_wait (&go_barrier);
 
-  pthread_exit (! allow_execstack);
+  pthread_exit ((void *) (long int) (! allow_execstack));
 #endif
 
   return ! allow_execstack;