# HG changeset patch # User jbe # Date 1571851960 -7200 # Node ID 59d2aaa6df07829795f7bb2de2fd7acdfbe9d534 # Parent 77355fe3b1ccf3aede5f2a716df3c0f001c7c61d Suppress compiler warning regarding const qualifier of argument to execvp diff -r 77355fe3b1cc -r 59d2aaa6df07 libraries/extos/extos.c --- a/libraries/extos/extos.c Tue Oct 22 13:45:45 2019 +0200 +++ b/libraries/extos/extos.c Wed Oct 23 19:32:40 2019 +0200 @@ -262,7 +262,7 @@ if (result != 1) goto extos_pfilter_error_fd_remapping; do result = dup(pipe_err[1]); while (result < 0 && errno == EINTR); if (result != 2) goto extos_pfilter_error_fd_remapping; - execvp(filename, args); + execvp(filename, (char *const *)args); // coercion to suppress compiler warning status_buf[0] = errno; do result = write(pipe_status[1], status_buf, 1); while (result < 0 && errno == EINTR); _exit(0);