Skip to content

Commit

Permalink
Add cast in tst-execstack to avoid warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Oct 30, 2009
1 parent 1c52a97 commit 3005703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion elf/tst-execstack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3005703

Please sign in to comment.