This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new c2a8302  Fixes a build issue with latest XCode / clang
c2a8302 is described below

commit c2a83021f9092fdefd3831151bc44644452ac130
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 b6b46f3..ea9365b 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) - 1, "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
bc...@apache.org.

Reply via email to