summaryrefslogtreecommitdiff
path: root/getgroups.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-01-04 07:06:05 +0000
committerWayne Davison <wayned@samba.org>2004-01-04 07:06:05 +0000
commitf358487f8eb5b8e7eb52177a1896816bce58139b (patch)
tree2f2718d543f1fa04878738db21eb6d938a1f5b7c /getgroups.c
parenta18381aca61b8a73d7fd6afa3dc66267fc03cf5c (diff)
downloadrsync-f358487f8eb5b8e7eb52177a1896816bce58139b.tar.gz
rsync-f358487f8eb5b8e7eb52177a1896816bce58139b.tar.bz2
rsync-f358487f8eb5b8e7eb52177a1896816bce58139b.zip
Silence a compiler warning on Sun OS systems.
Diffstat (limited to 'getgroups.c')
-rw-r--r--getgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getgroups.c b/getgroups.c
index b3202c3b..3aa152fc 100644
--- a/getgroups.c
+++ b/getgroups.c
@@ -43,7 +43,7 @@ main(UNUSED(int argc), UNUSED(char *argv[]))
}
for (i = 0; i < n; i++)
- printf("%u ", list[i]);
+ printf("%lu ", (unsigned long)list[i]);
printf("\n");
return 0;