changeset 58202 | a45cce906207 |
parent 58083 | 9046db64ca39 |
child 58390 | 4107e5a422b6 |
--- a/src/hotspot/os/aix/os_aix.cpp Tue Sep 17 19:52:51 2019 -0700 +++ b/src/hotspot/os/aix/os_aix.cpp Tue Jul 23 16:52:38 2019 +0200 @@ -4228,7 +4228,7 @@ // Unlike system(), this function can be called from signal handler. It // doesn't block SIGINT et al. int os::fork_and_exec(char* cmd, bool use_vfork_if_available) { - char * argv[4] = {"sh", "-c", cmd, NULL}; + char* argv[4] = { (char*)"sh", (char*)"-c", cmd, NULL}; pid_t pid = fork();