projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: avoid gcc warnings about argv vs. const initializers
[gnulib.git]
/
tests
/
test-posix_spawn2.c
diff --git
a/tests/test-posix_spawn2.c
b/tests/test-posix_spawn2.c
index
39479eb
..
e66c9f2
100644
(file)
--- a/
tests/test-posix_spawn2.c
+++ b/
tests/test-posix_spawn2.c
@@
-53,7
+53,7
@@
fd_safer (int fd)
int
main ()
{
- char *argv[3] = {
"/bin/sh",
CHILD_PROGRAM_FILENAME, NULL };
+ char *argv[3] = {
(char *) "/bin/sh", (char *)
CHILD_PROGRAM_FILENAME, NULL };
int ofd[2];
sigset_t blocked_signals;
sigset_t fatal_signal_set;