You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/04/10 20:32:30 UTC
[trafficserver] branch master updated: Fixes a build issue with
latest XCode / clang
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 3881834 Fixes a build issue with latest XCode / clang
3881834 is described below
commit 38818341c9e0a91bab3d864afe813b79846c3f4f
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue Apr 10 12:07:54 2018 -0600
Fixes a build issue with latest XCode / clang
---
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 30d316e..4a3a292 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), "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);
--
To stop receiving notification emails like this one, please contact
zwoop@apache.org.