From f3da6b41f1deb29666950fdb9f85821e1072d0a6 Mon Sep 17 00:00:00 2001 From: Addie Morrison Date: Sun, 8 Dec 2019 16:41:11 -0600 Subject: [PATCH] Take mharju's suggestion to explicitly use int64_t --- src/parquet_cursor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parquet_cursor.cc b/src/parquet_cursor.cc index efeeafe..14cc817 100644 --- a/src/parquet_cursor.cc +++ b/src/parquet_cursor.cc @@ -752,7 +752,7 @@ void ParquetCursor::ensureColumn(int col) { } case parquet::Type::INT64: { parquet::Int64Scanner *s = (parquet::Int64Scanner *)scanners[col].get(); - long long rv = 0; + int64_t rv = 0; s->NextValue(&rv, &wasNull); break; } @@ -830,7 +830,7 @@ void ParquetCursor::ensureColumn(int col) { } case parquet::Type::INT64: { parquet::Int64Scanner *s = (parquet::Int64Scanner *)scanners[col].get(); - long long rv = 0; + int64_t rv = 0; hadValue = s->NextValue(&rv, &wasNull); colIntValues[col] = rv; break;