From: Ulrich Drepper Date: Fri, 30 Oct 2009 16:26:00 +0000 (-0700) Subject: Add cast in tst-execstack to avoid warning. X-Git-Tag: glibc-2.11~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5;p=thirdparty%2Fglibc.git Add cast in tst-execstack to avoid warning. --- diff --git a/ChangeLog b/ChangeLog index 5aba2e5aa5f..25a89c0352d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-10-30 Ulrich Drepper + * 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 diff --git a/elf/tst-execstack.c b/elf/tst-execstack.c index a835e4c0d6f..6632e533670 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;