summaryrefslogtreecommitdiffstats
path: root/Action.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 /Action.c
parent1d00893110bd7cc68b49c751d4fd734610eac959 (diff)
Misc conversion fixes
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;
}

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