diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-03-14 20:14:19 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-15 10:38:32 -0700 |
commit | 7ea026e332192ebba4c634c93fed6e02bfb7f89e (patch) | |
tree | d52ca0072685ef703b87bebae6a7ecb0bce39533 /lib | |
parent | 346407443e6210da9c7335df7b898d96ff74c0e3 (diff) | |
download | samba-7ea026e332192ebba4c634c93fed6e02bfb7f89e.tar.gz samba-7ea026e332192ebba4c634c93fed6e02bfb7f89e.tar.bz2 samba-7ea026e332192ebba4c634c93fed6e02bfb7f89e.zip |
lib/util: Cast mode_t result to unsigned int for GNU/Solaris build
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util.c b/lib/util/util.c index 464fc62e1f..7962c1e2ea 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -235,7 +235,7 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname, if ((st.st_mode & 0777) != dir_perms) { DEBUG(0, ("invalid permissions on directory " "'%s': has 0%o should be 0%o\n", dname, - (st.st_mode & 0777), dir_perms)); + (unsigned int)(st.st_mode & 0777), (unsigned int)dir_perms)); return false; } |