summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-26 20:22:25 +0000
committerJim Meyering <jim@meyering.net>1993-10-26 20:22:25 +0000
commit1e5d680863dc7ab3826d532d4ffe5275d89fb574 (patch)
treef4a315753268a32d744dbebd6cded1fd3cd3565d
parent95ed01883016323b7476f3ee580149ea4b810e0f (diff)
downloadgnulib-1e5d680863dc7ab3826d532d4ffe5275d89fb574.tar.gz
GNU file utilitiesFILEUTILS-3_9a
-rw-r--r--lib/userspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/userspec.c b/lib/userspec.c
index fc93267f83..37b7980b9f 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -162,7 +162,7 @@ parse_user_spec (name, uid, gid, username, groupname)
*groupname = malloc (15);
if (*groupname == NULL)
return tired;
- sprintf (*groupname, "%u", pwd->pw_gid);
+ sprintf (*groupname, "%u", (unsigned) (pwd->pw_gid));
}
else
{