summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/server_prefork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/server_prefork.c b/source3/lib/server_prefork.c
index 5206c36e8d..a584df7a71 100644
--- a/source3/lib/server_prefork.c
+++ b/source3/lib/server_prefork.c
@@ -237,8 +237,8 @@ struct prefork_oldest {
/* sort in inverse order */
static int prefork_sort_oldest(const void *ap, const void *bp)
{
- struct prefork_oldest *a = (struct prefork_oldest *)ap;
- struct prefork_oldest *b = (struct prefork_oldest *)bp;
+ const struct prefork_oldest *a = (const struct prefork_oldest *)ap;
+ const struct prefork_oldest *b = (const struct prefork_oldest *)bp;
if (a->started == b->started) {
return 0;