Skip to content

Commit bdc923a

Browse files
committed
Fix convertion
1 parent 6ca9c33 commit bdc923a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/util/cpu_info.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ int64_t LinuxGetCacheSize(int level) {
249249
template <std::size_t N>
250250
void OsRetrieveCacheSize(std::array<int64_t, N>* cache_sizes) {
251251
static_assert(N >= 3);
252-
for (int i = 0; i < N; ++i) {
252+
for (int i = 0; i < static_cast<int>(N); ++i) {
253253
const int64_t cache_size = LinuxGetCacheSize(i);
254254
if (cache_size > 0) {
255255
(*cache_sizes)[i] = cache_size;

0 commit comments

Comments
 (0)