diff options
Diffstat (limited to 'Servers/SystemServer/main.cpp')
-rw-r--r-- | Servers/SystemServer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/SystemServer/main.cpp b/Servers/SystemServer/main.cpp index 51b971412f..c413ec5cc0 100644 --- a/Servers/SystemServer/main.cpp +++ b/Servers/SystemServer/main.cpp @@ -34,7 +34,7 @@ void start_process(const char* prog, int prio) ASSERT(ret == 0); char* progv[256]; - progv[0] = (char*)prog; + progv[0] = const_cast<char*>(prog); progv[1] = nullptr; ret = execv(prog, progv); if (ret < 0) { |