fix iso c++ warning on const char*
This commit is contained in:
parent
68d5c142c2
commit
a3d329cdd5
1 changed files with 2 additions and 1 deletions
|
|
@ -262,7 +262,8 @@ std::unique_ptr<OutputType> Worker::perform_task(std::unique_ptr<InputType>& tas
|
||||||
// I warned you about the syscall handling. A lot of error checks...
|
// I warned you about the syscall handling. A lot of error checks...
|
||||||
|
|
||||||
// build the execution vector
|
// build the execution vector
|
||||||
char* const argv[] = {"${ACT_HOME}/bin/actsim", design_char, top_proc_char};
|
char bin[] = "${ACT_HOME}/bin/actsim";
|
||||||
|
char* const argv[] = {bin, design_char, top_proc_char};
|
||||||
|
|
||||||
// and call actsim
|
// and call actsim
|
||||||
execv(argv[0], argv);
|
execv(argv[0], argv);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue