1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

Do a pass of compiler warning fixes.

This is really making me question not using 64-bit integers more.
This commit is contained in:
Andreas Kling 2019-04-23 13:00:53 +02:00
parent 243e1d8462
commit 58240fdb33
21 changed files with 89 additions and 84 deletions

View file

@ -83,7 +83,7 @@ int execl(const char* filename, const char* arg0, ...)
}
va_end(ap);
args.append(nullptr);
return execve(filename, (char* const *)args.data(), environ);
return execve(filename, const_cast<char* const*>(args.data()), environ);
}
uid_t getuid()