summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-05-17 05:26:46 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-05-20 21:54:06 +1000
commitd5b440fa897ace7bef4d02a7ad1af556819139a6 (patch)
treee7fd225098439928ac88ad41bf68e1c7e79090f1
parent373448804ba02378ab0957b0f80a6dd28910a261 (diff)
downloadsamba-d5b440fa897ace7bef4d02a7ad1af556819139a6.tar.gz
samba-d5b440fa897ace7bef4d02a7ad1af556819139a6.tar.bz2
samba-d5b440fa897ace7bef4d02a7ad1af556819139a6.zip
Fix warning by setting the variable from GUID to const GUID
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/dsdb/samdb/ldb_modules/ridalloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ridalloc.c b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index d0266eda8a..73ecb03891 100644
--- a/source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/source4/dsdb/samdb/ldb_modules/ridalloc.c
@@ -388,7 +388,8 @@ static int ridalloc_create_own_rid_set(struct ldb_module *module, TALLOC_CTX *me
struct ldb_dn *rid_manager_dn, *fsmo_role_dn;
int ret;
struct ldb_context *ldb = ldb_module_get_ctx(module);
- struct GUID fsmo_role_guid, *our_ntds_guid;
+ struct GUID fsmo_role_guid;
+ const struct GUID *our_ntds_guid;
NTSTATUS status;
/* work out who is the RID Manager */