diff --git a/include/internal/cef_types_wrappers.h b/include/internal/cef_types_wrappers.h index e410af42e..53e07cd48 100644 --- a/include/internal/cef_types_wrappers.h +++ b/include/internal/cef_types_wrappers.h @@ -220,8 +220,8 @@ class CefRange : public cef_range_t { CefRange(uint32_t from, uint32_t to) : cef_range_t{from, to} {} static CefRange InvalidRange() { - return CefRange(std::numeric_limits::max(), - std::numeric_limits::max()); + return CefRange((std::numeric_limits::max)(), + (std::numeric_limits::max)()); } void Set(int from_val, int to_val) { from = from_val, to = to_val; }