--- orc-rel-release-1.6.6/c++/src/ColumnPrinter.cc.orig 2021-09-20 09:01:01.284286634 -0400
+++ orc-rel-release-1.6.6/c++/src/ColumnPrinter.cc 2021-09-20 09:06:30.748470566 -0400
@@ -631,7 +631,7 @@
if (hasNulls && !notNull[rowId]) {
writeString(buffer, "null");
} else {
- const time_t timeValue = data[rowId] * 24 * 60 * 60;
+ const time_t timeValue = static_cast<time_t>(data[rowId] * 24 * 60 * 60);
struct tm tmValue;
gmtime_r(&timeValue, &tmValue);
char timeBuffer[11];