From: Tom Stellard Date: Wed, 2 Oct 2013 15:56:20 +0000 (-0400) Subject: clover: Use std::numeric_limits::max() instead of SIZE_MAX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f49c97afe24199cafbb51db37e642ed5c5235cc;p=mesa.git clover: Use std::numeric_limits::max() instead of SIZE_MAX This prevents a build failure on some systems. Reviewed-by: Francisco Jerez --- diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp index 53714b4283c..a764bb55ea8 100644 --- a/src/gallium/state_trackers/clover/core/kernel.cpp +++ b/src/gallium/state_trackers/clover/core/kernel.cpp @@ -115,7 +115,7 @@ _cl_kernel::mem_private() const { size_t _cl_kernel::max_block_size() const { - return SIZE_MAX; + return std::numeric_limits::max(); } const std::string &