* Remove a warning.
This commit is contained in:
parent
2716f9bc5f
commit
0a8eeea9d8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ static void secureChown(uid_t uidFrom, gid_t gidFrom,
|
||||||
to. */
|
to. */
|
||||||
throw Error(error);
|
throw Error(error);
|
||||||
|
|
||||||
if (uidFrom != -1) {
|
if (uidFrom != (uid_t) -1) {
|
||||||
assert(uidFrom != 0);
|
assert(uidFrom != 0);
|
||||||
if (st.st_uid != uidFrom)
|
if (st.st_uid != uidFrom)
|
||||||
throw Error(error);
|
throw Error(error);
|
||||||
|
|
Loading…
Reference in a new issue