From c96dd22397d3daa9d261c944133c3ffbcd36b6e9 Mon Sep 17 00:00:00 2001 From: Randy DuCharme Date: Thu, 20 Jan 2022 20:28:40 -0600 Subject: [PATCH] Fix 32bit build failure on Odroid Xu-4 Signed-off-by: Randy DuCharme --- 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 e1576741021..25fe6728a7a 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_INFINITY) { + if (limit_data.rlim_cur != static_cast(RLIM_INFINITY)) { if (has_size_limit) { *has_size_limit = true; }