git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e2a4a
)
s3: Fix a C++ warning
author
Volker Lendecke
<vl@samba.org>
Fri, 30 Sep 2011 08:07:30 +0000
(10:07 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 30 Sep 2011 08:21:42 +0000
(10:21 +0200)
source3/lib/server_prefork.c
patch
|
blob
|
history
diff --git
a/source3/lib/server_prefork.c
b/source3/lib/server_prefork.c
index 89600aaa2ac5ff47e1f070d6a285967263247193..425188fec7c032c3ac59b18d97fd25eabe39b22d 100644
(file)
--- a/
source3/lib/server_prefork.c
+++ b/
source3/lib/server_prefork.c
@@
-92,7
+92,8
@@
bool prefork_create_pool(TALLOC_CTX *mem_ctx,
pfp->pool_size = max_children;
data_size = sizeof(struct pf_worker_data) * max_children;
- pfp->pool = anonymous_shared_allocate(data_size);
+ pfp->pool = (struct pf_worker_data *)anonymous_shared_allocate(
+ data_size);
if (pfp->pool == NULL) {
DEBUG(1, ("Failed to mmap memory for prefork pool!\n"));
talloc_free(pfp);