summaryrefslogtreecommitdiff
path: root/nsswitch/winbind_nss_linux.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-27 09:38:39 +0100
committerJeremy Allison <jra@samba.org>2014-11-14 23:27:05 +0100
commitd5326bca33a7e64cd86f2a86a8b95591ed712a77 (patch)
tree62e9e85fb4d6a196c797c49295d03b9bc1d70a8a /nsswitch/winbind_nss_linux.c
parente36de873e9fff543aefa06ee046dabd3d9b03c72 (diff)
downloadsamba-d5326bca33a7e64cd86f2a86a8b95591ed712a77.tar.gz
nsswitch: avoid some compiler warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'nsswitch/winbind_nss_linux.c')
-rw-r--r--nsswitch/winbind_nss_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c
index 70ede3edbd8..9afa9d42725 100644
--- a/nsswitch/winbind_nss_linux.c
+++ b/nsswitch/winbind_nss_linux.c
@@ -287,7 +287,7 @@ static NSS_STATUS fill_pwent(struct passwd *result,
Return NSS_STATUS_TRYAGAIN if we run out of memory. */
static NSS_STATUS fill_grent(struct group *result, struct winbindd_gr *gr,
- char *gr_mem, char **buffer, size_t *buflen)
+ const char *gr_mem, char **buffer, size_t *buflen)
{
char *name;
int i;