diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 15:47:08 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-22 15:47:08 +0200 |
commit | 5980007e44698071fe71a7e412785b8d04471127 (patch) | |
tree | 909c94fa0c0b6508b8c0353df7cca35bf55a09c0 /Servers | |
parent | 0deade2883dbbfe63b007fffef113565a56d3ba9 (diff) | |
download | serenity-5980007e44698071fe71a7e412785b8d04471127.zip |
Userland: Fix many compiler warnings.
Diffstat (limited to 'Servers')
-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) { |