winbind: Fix an incompatible pointer type warning
authorVolker Lendecke <vl@samba.org>
Mon, 4 Feb 2013 14:52:49 +0000 (15:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 8 Feb 2013 14:27:50 +0000 (15:27 +0100)
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

source3/winbindd/wb_getgrsid.c

index fa376da0880e78b863efbab1cf1c3e08a0e291da..f3899b0c466e39a8414cab22488d903c55363433 100644 (file)
@@ -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);