[PATCH] winbind: Fix an incompatible pointer type warning

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Feb 6 03:09:43 MST 2013


Attached.

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

**********************************************************
visit us at CeBIT: March 5th - 9th 2013, hall 6, booth E15
all about SAMBA and verinice, firewalls, Linux and Windows
free tickets available via email here : cebit at sernet.com !
**********************************************************
-------------- next part --------------
From 37c920e1ecca8b036f4a69792561a195332d962c Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 4 Feb 2013 15:52:49 +0100
Subject: [PATCH] winbind: Fix an incompatible pointer type warning

---
 source3/winbindd/wb_getgrsid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/winbindd/wb_getgrsid.c b/source3/winbindd/wb_getgrsid.c
index fa376da..f3899b0 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);
-- 
1.7.9.5



More information about the samba-technical mailing list