summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chown.c b/src/chown.c
index 66692e43e..de2a0ea1f 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -211,7 +211,7 @@ change_dir_owner (const char *dir, uid_t user, gid_t group, struct stat *statp)
int errors = 0;
errno = 0;
- name_space = savedir (dir, statp->st_size);
+ name_space = savedir (dir, (unsigned int) statp->st_size);
if (name_space == NULL)
{
if (errno)