summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-02-04 15:52:49 +0100
committerStefan Metzmacher <metze@samba.org>2013-02-08 15:27:50 +0100
commitbeb6c13e9a8c317bca240e875d9e3bcd940a02fb (patch)
tree2b657a2b543f45b6b27baa31cee76b40bfb344e9
parentc03d5c5740f9d1894a971110029e8f567d300d8a (diff)
downloadsamba-beb6c13e9a8c317bca240e875d9e3bcd940a02fb.tar.gz
samba-beb6c13e9a8c317bca240e875d9e3bcd940a02fb.tar.bz2
samba-beb6c13e9a8c317bca240e875d9e3bcd940a02fb.zip
winbind: Fix an incompatible pointer type warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Feb 8 15:27:51 CET 2013 on sn-devel-104
-rw-r--r--source3/winbindd/wb_getgrsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_getgrsid.c b/source3/winbindd/wb_getgrsid.c
index fa376da088..f3899b0c46 100644
--- a/source3/winbindd/wb_getgrsid.c
+++ b/source3/winbindd/wb_getgrsid.c
@@ -143,7 +143,7 @@ static void wb_getgrsid_sid2gid_done(struct tevent_req *subreq)
* mapped to ID_TYPE_BOTH:
* create a group with the sid/xid as only member
*/
- char *name;
+ const char *name;
if (xid.type != ID_TYPE_BOTH) {
tevent_req_nterror(req, NT_STATUS_NO_SUCH_GROUP);