You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/08/19 15:41:36 UTC
[trafficserver] branch master updated: Fix compile error on macOS (#9047)
This is an automated email from the ASF dual-hosted git repository.
bneradt 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 11319857e Fix compile error on macOS (#9047)
11319857e is described below
commit 11319857ed1de111e5fd4a4f3eac4e197a20332b
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Sat Aug 20 00:41:28 2022 +0900
Fix compile error on macOS (#9047)
---
iocore/cache/CacheRead.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/cache/CacheRead.cc b/iocore/cache/CacheRead.cc
index 9d9f2452b..6b15fc9ea 100644
--- a/iocore/cache/CacheRead.cc
+++ b/iocore/cache/CacheRead.cc
@@ -1181,8 +1181,8 @@ CacheVC::openReadStartHead(int event, Event *e)
if (field) {
uint64_t cl = static_cast<uint64_t>(field->value_get_int64());
if (cl != doc_len) {
- Warning("OpenReadHead failed for cachekey %X : alternate content length doesn't match doc_len %ld != %ld", key.slice32(0),
- cl, doc_len);
+ Warning("OpenReadHead failed for cachekey %X : alternate content length doesn't match doc_len %" PRId64 " != %" PRId64,
+ key.slice32(0), cl, doc_len);
CACHE_INCREMENT_DYN_STAT(cache_read_invalid_stat);
err = ECACHE_BAD_META_DATA;
goto Ldone;