diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-22 00:53:57 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-22 00:53:57 +0000 |
commit | 585a9fe78526ac906302c45cef56e9b12355c8e1 (patch) | |
tree | 3342e3caf86f54c704cf77a9063ab671eeb84f8d | |
parent | f2ba4343e416b2e66bda087a3626be9e16368c56 (diff) | |
download | samba-585a9fe78526ac906302c45cef56e9b12355c8e1.tar.gz samba-585a9fe78526ac906302c45cef56e9b12355c8e1.tar.xz samba-585a9fe78526ac906302c45cef56e9b12355c8e1.zip |
Fixed gcc3 based warning.
Jeremy.
-rw-r--r-- | source/nsswitch/winbind_nss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbind_nss.c b/source/nsswitch/winbind_nss.c index 0c4a61d2cbf..4579d167d2b 100644 --- a/source/nsswitch/winbind_nss.c +++ b/source/nsswitch/winbind_nss.c @@ -696,7 +696,7 @@ static int fill_grent(struct group *result, struct winbindd_gr *gr, /* this next value is a pointer to a pointer so let's align it */ /* Calculate number of extra bytes needed to align on pointer size boundry */ - if (i = (int)*buffer % sizeof(char*)) + if ((i = (int)*buffer % sizeof(char*)) != 0) i = sizeof(char*) - i; if ((tst = get_static(buffer, buflen, ((gr->num_gr_mem + 1) * |