summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-05 02:00:47 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-05 02:00:47 +0000
commit466b1d7573219f853fcc8706a7d8bf6559e8de6c (patch)
treecec9689565281c8e48fbe3fd1d6bdb6620d6a0c7
parent5d83242a9e03e72e07ff8cc427a67691774c373c (diff)
downloadsamba-466b1d7573219f853fcc8706a7d8bf6559e8de6c.tar.gz
samba-466b1d7573219f853fcc8706a7d8bf6559e8de6c.tar.bz2
samba-466b1d7573219f853fcc8706a7d8bf6559e8de6c.zip
fixed solaris compilation error (don't add to a void*)
(This used to be commit f3c70e4248814e545a9ff64402cbd11020b159de)
-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 */