From 1fba1406449880384bb585a0eda6e9be60a868fe Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 14 Mar 2013 21:15:18 +1100 Subject: [PATCH] s3-smbd/process.c: Cast pid_t result to int for GNU/Solaris build Reviewed-by: Jeremy Allison --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 0a8e62c85a7..1640cca60d7 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3081,7 +3081,7 @@ bool fork_echo_handler(struct smbd_server_connection *sconn) listener_pipe[1] = -1; sconn->smb1.echo_handler.trusted_fd = listener_pipe[0]; - DEBUG(10,("fork_echo_handler: main[%d] echo_child[%d]\n", (int)getpid(), child)); + DEBUG(10,("fork_echo_handler: main[%d] echo_child[%d]\n", (int)getpid(), (int)child)); /* * Without smb signing this is the same as the normal smbd -- 2.11.4.GIT