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 2022/01/25 20:50:52 UTC

[trafficserver] branch 9.2.x updated: Fix 32bit build failure on Odroid Xu-4 (#8626)

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

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


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 2973447  Fix 32bit build failure on Odroid Xu-4 (#8626)
2973447 is described below

commit 2973447af24e6b369a6ded3028e8e3b6a1e430e7
Author: Randy DuCharme <51...@users.noreply.github.com>
AuthorDate: Fri Jan 21 11:24:15 2022 -0600

    Fix 32bit build failure on Odroid Xu-4 (#8626)
    
    Signed-off-by: Randy DuCharme <ra...@gmail.com>
    (cherry picked from commit 8ac10d5a8fbf91f7c160c05e282c5ab9938afca6)
---
 proxy/logging/LogUtils.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/logging/LogUtils.cc b/proxy/logging/LogUtils.cc
index e157674..25fe672 100644
--- a/proxy/logging/LogUtils.cc
+++ b/proxy/logging/LogUtils.cc
@@ -599,7 +599,7 @@ LogUtils::file_is_writeable(const char *full_filename, off_t *size_bytes, bool *
     if (e < 0) {
       ret_val = -1;
     } else {
-      if (limit_data.rlim_cur != static_cast<rlim_t> RLIM_INFINITY) {
+      if (limit_data.rlim_cur != static_cast<rlim_t>(RLIM_INFINITY)) {
         if (has_size_limit) {
           *has_size_limit = true;
         }