This is an automated email from the ASF dual-hosted git repository. sorber pushed a commit to branch 6.2.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/6.2.x by this push: new 2015686 Fixes a build issue with latest XCode / clang 2015686 is described below commit 2015686e94c25c4cd2ecb9b57a0cb7bff64aa09f Author: Leif Hedstrom <zw...@apache.org> AuthorDate: Tue Apr 10 12:07:54 2018 -0600 Fixes a build issue with latest XCode / clang (cherry picked from commit 38818341c9e0a91bab3d864afe813b79846c3f4f) Conflicts: plugins/experimental/acme/acme.c --- plugins/experimental/acme/acme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/experimental/acme/acme.c b/plugins/experimental/acme/acme.c index c9c7729..90fa3a3 100644 --- a/plugins/experimental/acme/acme.c +++ b/plugins/experimental/acme/acme.c @@ -202,7 +202,7 @@ acme_process_write(TSCont contp, TSEvent event, AcmeState *my_state) char buf[64]; /* Plenty of space for CL: header */ int len; - len = snprintf(buf, sizeof(buf) - 1, "Content-Length: %zd\r\n\r\n", my_state->stat_buf.st_size); + len = snprintf(buf, sizeof(buf), "Content-Length: %zd\r\n\r\n", (size_t)my_state->stat_buf.st_size); my_state->output_bytes += add_data_to_resp(buf, len, my_state); my_state->output_bytes += add_file_to_resp(my_state);