git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
217177a
)
s4:dsdb:ridalloc.c: fix C++ warning
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Jul 2010 10:06:39 +0000
(12:06 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Jul 2010 07:27:12 +0000
(09:27 +0200)
metze
source4/dsdb/samdb/ldb_modules/ridalloc.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/ridalloc.c
b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index 91d48ba47bc8c203b8aeced6e5a217be28b9f372..1b56512f967ccb1fc5cdc8aca79a8f042726d998 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/
source4/dsdb/samdb/ldb_modules/ridalloc.c
@@
-68,7
+68,8
@@
static void ridalloc_poke_rid_manager(struct ldb_module *module)
struct messaging_context *msg;
struct server_id *server;
struct ldb_context *ldb = ldb_module_get_ctx(module);
- struct loadparm_context *lp_ctx = ldb_get_opaque(ldb, "loadparm");
+ struct loadparm_context *lp_ctx =
+ (struct loadparm_context *)ldb_get_opaque(ldb, "loadparm");
TALLOC_CTX *tmp_ctx = talloc_new(module);
msg = messaging_client_init(tmp_ctx, lp_messaging_path(tmp_ctx, lp_ctx),