You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2019/04/22 06:14:03 UTC
[trafficserver] branch master updated: Fix a build error in xdebug
on macos
This is an automated email from the ASF dual-hosted git repository.
maskit 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 ed9b565 Fix a build error in xdebug on macos
ed9b565 is described below
commit ed9b5659bec77cdce8320693db2ea65b33307a74
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri Apr 19 17:08:20 2019 +0900
Fix a build error in xdebug on macos
---
plugins/xdebug/xdebug_transforms.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/xdebug/xdebug_transforms.cc b/plugins/xdebug/xdebug_transforms.cc
index 4ceeea1..1bec6e8 100644
--- a/plugins/xdebug/xdebug_transforms.cc
+++ b/plugins/xdebug/xdebug_transforms.cc
@@ -132,14 +132,14 @@ body_transform(TSCont contp, TSEvent event, void *edata)
}
int64_t towrite = TSVIONTodoGet(src_vio);
- TSDebug("xdebug_transform", "body_transform(): %li bytes of body is expected", towrite);
+ TSDebug("xdebug_transform", "body_transform(): %" PRId64 " bytes of body is expected", towrite);
int64_t avail = TSIOBufferReaderAvail(TSVIOReaderGet(src_vio));
towrite = towrite > avail ? avail : towrite;
if (towrite > 0) {
TSIOBufferCopy(TSVIOBufferGet(data->output_vio), TSVIOReaderGet(src_vio), towrite, 0);
TSIOBufferReaderConsume(TSVIOReaderGet(src_vio), towrite);
TSVIONDoneSet(src_vio, TSVIONDoneGet(src_vio) + towrite);
- TSDebug("xdebug_transform", "body_transform(): writing %li bytes of body", towrite);
+ TSDebug("xdebug_transform", "body_transform(): writing %" PRId64 " bytes of body", towrite);
}
if (TSVIONTodoGet(src_vio) > 0) {