diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-15 22:35:44 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-16 19:16:53 +0200 |
commit | af4f58d0136fedca4894194daf89ab242167185d (patch) | |
tree | 7225680471663f7a8e282ec45fd240481c591fe9 /htop.c | |
parent | 1d00893110bd7cc68b49c751d4fd734610eac959 (diff) |
Misc conversion fixes
Diffstat (limited to 'htop.c')
-rw-r--r-- | htop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |