diff options
author | David Dykstra <dwd@samba.org> | 1999-03-01 21:16:49 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 1999-03-01 21:16:49 +0000 |
commit | 86692050b54b16e5b289ddeacbb59f890455cca7 (patch) | |
tree | 4795a7102cc2dbd4341822481c016e30b32d9c19 /uidlist.c | |
parent | 460f6b990a89a13060b57e1e52f72346bf020679 (diff) | |
download | rsync-86692050b54b16e5b289ddeacbb59f890455cca7.tar.gz |
When comparing -1 to a group id, cast -1 with gid_t because on some systems
such as sunos4 gid_t is an unsigned short. This prevented the just-added
non-mapped group test from working on sunos4.
Diffstat (limited to 'uidlist.c')
-rw-r--r-- | uidlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ static gid_t match_gid(gid_t gid) if (am_root) last_out = gid; else - last_out = -1; + last_out = (gid_t) -1; return last_out; } |