summaryrefslogtreecommitdiffstats
path: root/archivers/p7zip/files/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p7zip/files/patch-ba')
-rw-r--r--archivers/p7zip/files/patch-ba19
1 files changed, 0 insertions, 19 deletions
diff --git a/archivers/p7zip/files/patch-ba b/archivers/p7zip/files/patch-ba
deleted file mode 100644
index 744f411..0000000
--- a/archivers/p7zip/files/patch-ba
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: Windows/Time.h
-@@ -41,7 +41,7 @@
- fileTime.dwHighDateTime = DWORD(ll >> 32);
- }
-
--inline bool FileTimeToUnixTime(const FILETIME &fileTime, long &unixTime)
-+inline bool FileTimeToUnixTime(const FILETIME &fileTime, time_t &unixTime)
- {
- UINT64 winTime = (((UINT64)fileTime.dwHighDateTime) << 32) + fileTime.dwLowDateTime;
- if (winTime < kUnixTimeStartValue)
-@@ -49,7 +49,7 @@
- winTime = (winTime - kUnixTimeStartValue) / kNumTimeQuantumsInSecond;
- if (winTime >= 0xFFFFFFFF)
- return false;
-- unixTime = (long)winTime;
-+ unixTime = (time_t)winTime;
- return true;
- }
-
OpenPOWER on IntegriCloud