We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca9c33 commit bdc923aCopy full SHA for bdc923a
1 file changed
cpp/src/arrow/util/cpu_info.cc
@@ -249,7 +249,7 @@ int64_t LinuxGetCacheSize(int level) {
249
template <std::size_t N>
250
void OsRetrieveCacheSize(std::array<int64_t, N>* cache_sizes) {
251
static_assert(N >= 3);
252
- for (int i = 0; i < N; ++i) {
+ for (int i = 0; i < static_cast<int>(N); ++i) {
253
const int64_t cache_size = LinuxGetCacheSize(i);
254
if (cache_size > 0) {
255
(*cache_sizes)[i] = cache_size;
0 commit comments