From 480b483731d74c217ea85d5572f40c77a2824111 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Fri, 18 Feb 2022 14:44:09 -0500 Subject: [PATCH] Fix debug compile error in device_span to column_view conversion --- cpp/include/cudf/column/column_view.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/include/cudf/column/column_view.hpp b/cpp/include/cudf/column/column_view.hpp index ba15e37f9ea..10334a40cf9 100644 --- a/cpp/include/cudf/column/column_view.hpp +++ b/cpp/include/cudf/column/column_view.hpp @@ -393,8 +393,9 @@ class column_view : public detail::column_view_base { : column_view( cudf::data_type{cudf::type_to_id()}, data.size(), data.data(), nullptr, 0, 0, {}) { - CUDF_EXPECTS(data.size() < std::numeric_limits::max(), - "Data exceeds the maximum size of a column view."); + CUDF_EXPECTS( + data.size() < static_cast(std::numeric_limits::max()), + "Data exceeds the maximum size of a column view."); } /**