aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 22:28:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 22:28:06 +0000
commitb622514d34084d2e4484630d17429fdb699cdd8e (patch)
tree8472a93454066c0628d343723437e470029991d8
parentd64ba7b2f048c98212be00936040e84ea45396da (diff)
downloadpaludis-b622514d34084d2e4484630d17429fdb699cdd8e.tar.gz
paludis-b622514d34084d2e4484630d17429fdb699cdd8e.tar.xz
Silence some g++-4.2 warnings
-rw-r--r--paludis/util/fs_entry.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/fs_entry.hh b/paludis/util/fs_entry.hh
index 821339b..0c14325 100644
--- a/paludis/util/fs_entry.hh
+++ b/paludis/util/fs_entry.hh
@@ -337,7 +337,7 @@ namespace paludis
*
* \exception FSError If the chown failed.
*/
- void chown(const uid_t owner, const gid_t group = -1);
+ void chown(const uid_t owner, const gid_t group = static_cast<gid_t>(-1));
/**
* Change our permissions.