summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-119-minizip-types.patch
blob: 3d1a0f7687354eac70a05a5ca030b4f93087a242 (plain) (tree)






















                                                                                              
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;