From a1fcf599faa023d1752b37aef215d80286e76839 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 10 Apr 2014 11:19:37 -0700 Subject: [PATCH] Silenced a compilation warning produced by nvcc. --- Eigen/src/Core/util/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 0f8ab065a..1a1d3e98d 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -89,7 +89,7 @@ inline void throw_std_bad_alloc() #ifdef EIGEN_EXCEPTIONS throw std::bad_alloc(); #else - std::size_t huge = -1; + std::size_t huge = -1ULL; new int[huge]; #endif }