summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-119-minizip-types.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-119-minizip-types.patch b/www-client/chromium/files/chromium-119-minizip-types.patch
new file mode 100644
index 0000000..3d1a0f7
--- /dev/null
+++ b/www-client/chromium/files/chromium-119-minizip-types.patch
@@ -0,0 +1,23 @@
+diff --git a/third_party/zlib/google/zip_internal.cc b/third_party/zlib/google/zip_internal.cc
+index 378bc04632..2fb9283909 100644
+--- a/third_party/zlib/google/zip_internal.cc
++++ b/third_party/zlib/google/zip_internal.cc
+@@ -261,12 +261,12 @@ zip_fileinfo TimeToZipFileInfo(const base::Time& file_time) {
+ // Hence the fail safe option is to leave the date unset. Some programs
+ // might show the unset date as 1980-0-0 which is invalid.
+ zip_info.tmz_date = {
+- .tm_sec = static_cast<uInt>(file_time_parts.second),
+- .tm_min = static_cast<uInt>(file_time_parts.minute),
+- .tm_hour = static_cast<uInt>(file_time_parts.hour),
+- .tm_mday = static_cast<uInt>(file_time_parts.day_of_month),
+- .tm_mon = static_cast<uInt>(file_time_parts.month - 1),
+- .tm_year = static_cast<uInt>(file_time_parts.year)};
++ .tm_sec = static_cast<int>(file_time_parts.second),
++ .tm_min = static_cast<int>(file_time_parts.minute),
++ .tm_hour = static_cast<int>(file_time_parts.hour),
++ .tm_mday = static_cast<int>(file_time_parts.day_of_month),
++ .tm_mon = static_cast<int>(file_time_parts.month - 1),
++ .tm_year = static_cast<int>(file_time_parts.year)};
+ }
+
+ return zip_info;