Misc conversion fixes

This commit is contained in:
Christian Göttsche
2020-10-15 22:35:44 +02:00
committed by cgzones
parent 1d00893110
commit af4f58d013
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}