mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3-prefork: Fix cast warning.
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
This commit is contained in:
parent
e4b566d6cf
commit
5169dff380
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user