summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-15 22:35:44 +0200
committercgzones <cgzones@googlemail.com>2020-10-16 19:16:53 +0200
commitaf4f58d0136fedca4894194daf89ab242167185d (patch)
tree7225680471663f7a8e282ec45fd240481c591fe9 /htop.c
parent1d00893110bd7cc68b49c751d4fd734610eac959 (diff)
Misc conversion fixes
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index 44182ae1..8c813564 100644
--- a/htop.c
+++ b/htop.c
@@ -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,

© 2014-2024 Faster IT GmbH | imprint | privacy policy