From 299c13b7f60f2e3faaf73d6b3370acf99021963d Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 3 May 2012 18:34:32 +0200 Subject: s3:passdb fix a compiler warning this one could have caused crashes Autobuild-User: Christian Ambach Autobuild-Date: Thu May 3 23:22:05 CEST 2012 on sn-devel-104 --- source3/passdb/pdb_ads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/passdb') diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index f88ad75de7..df9b7b3a95 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -2258,7 +2258,7 @@ static bool pdb_ads_sid_to_id(struct pdb_methods *m, const struct dom_sid *sid, } else { gid_t gid; id->type = ID_TYPE_GID; - if (!tldap_pull_uint32(msg[0], "gidNumber", gid)) { + if (!tldap_pull_uint32(msg[0], "gidNumber", &gid)) { DEBUG(10, ("Did not find gidNumber\n")); goto fail; } -- cgit