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 --- Action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Action.c') diff --git a/Action.c b/Action.c index c4d71479..6d7782ca 100644 --- a/Action.c +++ b/Action.c @@ -107,7 +107,7 @@ bool Action_setUserOnly(const char* userName, uid_t* userId) { *userId = user->pw_uid; return true; } - *userId = -1; + *userId = (uid_t)-1; return false; } -- cgit v1.2.3