summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-30 11:05:34 +0000
committerJim Meyering <jim@meyering.net>1997-11-30 11:05:34 +0000
commite5781fe090ccec3a82476dff960f55013556ea76 (patch)
tree28ab7dea4f30e9329c1784558b69ee13993ce29e /src
parenta10fdc591f6014ad06d9984eba937551b2e4521e (diff)
downloadcoreutils-e5781fe090ccec3a82476dff960f55013556ea76.tar.xz
(change_dir_owner): Cast st_size arg to unsigned int in savedir call.
Diffstat (limited to 'src')
-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)