0. (Here it does not matter, since there would be an auto-conversion,
but well -- this goes to a variadic function, so not even try to pass
an integer where a pointer is needed, after all they may be of
different sizes, and there is no argument type conversion for variadic
function arguments...)
git-svn-id: https://svn.dealii.org/trunk@6622
0785d39b-7218-0410-832d-
ea1e28bc413d
// run the detached solver
// slave instead
const char * const program_name = DEAL_II_PATH"/lib/bin/detached_ma27";
- const char * const child_argv[] = { program_name, 0 };
+ const char * const child_argv[] = { program_name, NULL };
execv(program_name, const_cast<char * const *>(child_argv));
// usually execv does not
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams