summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbind_nss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbind_nss.c b/source3/nsswitch/winbind_nss.c
index 04b576a7a5..5e3e77517c 100644
--- a/source3/nsswitch/winbind_nss.c
+++ b/source3/nsswitch/winbind_nss.c
@@ -632,8 +632,8 @@ _nss_winbind_getgrent_r(struct group *result,
num_gr_cache * sizeof(struct winbindd_gr);
ret = fill_grent(result, &gr_cache[ndx_gr_cache],
- (char *)(getgrent_response.extra_data +
- mem_ofs), &buffer, &buflen);
+ ((char *)getgrent_response.extra_data)+mem_ofs,
+ &buffer, &buflen);
/* Out of memory - try again */