summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-12-22 01:15:58 +0000
committerHerb Lewis <herb@samba.org>2001-12-22 01:15:58 +0000
commit52e9d2c383371e64e498bbdb4a3f0e8583ca77a0 (patch)
treea9029e2290d981f0efecc8a6ea790695b2eda0c9
parent3999e13ef89acd51df4cf215959eccd6217c86e3 (diff)
downloadsamba-52e9d2c383371e64e498bbdb4a3f0e8583ca77a0.tar.gz
samba-52e9d2c383371e64e498bbdb4a3f0e8583ca77a0.tar.xz
samba-52e9d2c383371e64e498bbdb4a3f0e8583ca77a0.zip
merge Jeremy's gcc3 warning fix from 2.2
-rw-r--r--source/nsswitch/winbind_nss.c2
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) *