This is an automated email from the ASF dual-hosted git repository. bcall 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 d15152ea12 Fix compiler warning on m1 macs printing time_t (#10804) d15152ea12 is described below commit d15152ea12364fab4dd67e8923d9373584494587 Author: Bryan Call <bc...@apache.org> AuthorDate: Thu Nov 16 16:33:19 2023 -0800 Fix compiler warning on m1 macs printing time_t (#10804) --- src/iocore/hostdb/P_RefCountCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocore/hostdb/P_RefCountCache.h b/src/iocore/hostdb/P_RefCountCache.h index 079f316359..cad9ad6cf9 100644 --- a/src/iocore/hostdb/P_RefCountCache.h +++ b/src/iocore/hostdb/P_RefCountCache.h @@ -236,7 +236,7 @@ RefCountCachePartition<C>::put(uint64_t key, C *item, int size, time_t expire_ti // add expiry_entry to expiry queue, if the expire time is positive (otherwise it means don't expire) if (expire_time >= 0) { - Dbg(dbg_ctl, "partition %d adding entry with expire_time=%" PRId64, this->part_num, expire_time); + Dbg(dbg_ctl, "partition %d adding entry with expire_time=%" PRIdMAX, this->part_num, expire_time); PriorityQueueEntry<RefCountCacheHashEntry *> *expiry_entry = expiryQueueEntry.alloc(); new ((void *)expiry_entry) PriorityQueueEntry<RefCountCacheHashEntry *>(val); expiry_queue.push(expiry_entry);