* Remove a warning.

This commit is contained in:
Eelco Dolstra 2007-04-16 14:45:25 +00:00
parent 2716f9bc5f
commit 0a8eeea9d8
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ static void secureChown(uid_t uidFrom, gid_t gidFrom,
to. */
throw Error(error);
if (uidFrom != -1) {
if (uidFrom != (uid_t) -1) {
assert(uidFrom != 0);
if (st.st_uid != uidFrom)
throw Error(error);