summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-22 15:47:08 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-22 15:47:08 +0200
commit5980007e44698071fe71a7e412785b8d04471127 (patch)
tree909c94fa0c0b6508b8c0353df7cca35bf55a09c0 /Servers
parent0deade2883dbbfe63b007fffef113565a56d3ba9 (diff)
downloadserenity-5980007e44698071fe71a7e412785b8d04471127.zip
Userland: Fix many compiler warnings.
Diffstat (limited to 'Servers')
-rw-r--r--Servers/SystemServer/main.cpp2
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) {