From bf7da085b125ca9b18bdca22e05a9a6613771e3d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 14 Mar 2013 20:36:34 +1100 Subject: s3-lib/server_prefork: Cast pid_t result to unsigned int for GNU/Solaris build Reviewed-by: Jeremy Allison --- source3/lib/server_prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/server_prefork.c b/source3/lib/server_prefork.c index 49d1778085..c725607e95 100644 --- a/source3/lib/server_prefork.c +++ b/source3/lib/server_prefork.c @@ -277,7 +277,7 @@ int prefork_retire_children(struct messaging_context *msg_ctx, (pfp->pool[i].num_clients < 1)) && (pfp->pool[i].started <= age_limit)) { /* tell the child it's time to give up */ - DEBUG(5, ("Retiring pid %d!\n", pfp->pool[i].pid)); + DEBUG(5, ("Retiring pid %u!\n", (unsigned int)pfp->pool[i].pid)); pfp->pool[i].cmds = PF_SRV_MSG_EXIT; messaging_send(msg_ctx, pid_to_procid(pfp->pool[i].pid), -- cgit