From 3005703bb9aff3b2a1b2cf6bbbc92e7eaf91d9a5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 30 Oct 2009 09:26:00 -0700 Subject: Add cast in tst-execstack to avoid warning. --- elf/tst-execstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/tst-execstack.c') 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; -- cgit 1.4.1