Misc conversion fixes

This commit is contained in:
Christian Göttsche
2020-10-15 22:35:44 +02:00
committed by cgzones
parent 1d00893110
commit af4f58d013
3 changed files with 5 additions and 5 deletions

2
htop.c
View File

@ -74,7 +74,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
CommandLineSettings flags = {
.pidMatchList = NULL,
.commFilter = NULL,
.userId = -1, // -1 is guaranteed to be an invalid uid_t (see setreuid(2))
.userId = (uid_t)-1, // -1 is guaranteed to be an invalid uid_t (see setreuid(2))
.sortKey = 0,
.delay = -1,
.useColors = true,