From af4f58d0136fedca4894194daf89ab242167185d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 15 Oct 2020 22:35:44 +0200 Subject: Misc conversion fixes --- htop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htop.c') 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, -- cgit v1.2.3