aboutsummaryrefslogtreecommitdiff
path: root/src/driver/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/utils.c')
-rw-r--r--src/driver/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/driver/utils.c b/src/driver/utils.c
index ea8c4faf..d60d4dd6 100644
--- a/src/driver/utils.c
+++ b/src/driver/utils.c
@@ -316,8 +316,7 @@ int
openaxiom_execute_core(const openaxiom_command* command,
openaxiom_driver driver)
{
- const char* execpath =
- openaxiom_make_path_for(command->root_dir, driver);
+ char* execpath = (char*) openaxiom_make_path_for(command->root_dir, driver);
#ifdef __WIN32__
char* command_line;
int cur = strlen(command->core.argv[0]);