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; }