mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-29 12:05:17 -04:00
(change_dir_owner): Cast st_size arg to unsigned int in savedir call.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user