]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add cast in tst-execstack to avoid warning.
authorUlrich Drepper <drepper@redhat.com>
Fri, 30 Oct 2009 16:26:00 +0000 (09:26 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 30 Oct 2009 16:26:00 +0000 (09:26 -0700)
ChangeLog
elf/tst-execstack.c

index 5aba2e5aa5fdaf6cc09bd6ff86767c26a8ca676e..25a89c0352dc7b882ff962f239890bc19e16a921 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-10-30  Ulrich Drepper  <drepper@redhat.com>
 
+       * elf/tst-execstack.c (do_test): Add cast to avoid warning.
+
        * stdio-common/scanf13.c (main): Remove unused variable wbuf.
 
        * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned
index a835e4c0d6f788b297e4eb5f353c4d06e0a62a78..6632e5336708a2d673240582870bf5cadd16831a 100644 (file)
@@ -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;