mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Add cast in tst-execstack to avoid warning.
This commit is contained in:
parent
1c52a97a1e
commit
3005703bb9
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user