summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
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;
}