git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d9544
)
merge Jeremy's gcc3 warning fix from 2.2
author
Herb Lewis
<herb@samba.org>
Sat, 22 Dec 2001 01:15:58 +0000
(
01:15
+0000)
committer
Herb Lewis
<herb@samba.org>
Sat, 22 Dec 2001 01:15:58 +0000
(
01:15
+0000)
(This used to be commit
52e9d2c383371e64e498bbdb4a3f0e8583ca77a0
)
source3/nsswitch/winbind_nss.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbind_nss.c
b/source3/nsswitch/winbind_nss.c
index 0c4a61d2cbf0fde1af0b8a979fca900d9a7052b4..4579d167d2be397423b7806600cb712a18516caf 100644
(file)
--- a/
source3/nsswitch/winbind_nss.c
+++ b/
source3/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) *