early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/podofo/fix-x64-osx.patch
vendored
Executable file
13
externals/vcpkg/ports/podofo/fix-x64-osx.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/podofo/base/PdfDate.cpp b/src/podofo/base/PdfDate.cpp
|
||||
index cefa221..75d80e4 100644
|
||||
--- a/src/podofo/base/PdfDate.cpp
|
||||
+++ b/src/podofo/base/PdfDate.cpp
|
||||
@@ -196,7 +196,7 @@ PdfDate::PdfDate( const PdfString & sDate )
|
||||
|
||||
strncpy(m_szDate,sDate.GetString(),PDF_DATE_BUFFER_SIZE);
|
||||
|
||||
- struct tm _tm{};
|
||||
+ struct tm _tm; memset (&_tm, 0, sizeof(struct tm));
|
||||
_tm.tm_mday = 1;
|
||||
|
||||
const char * pszDate = sDate.GetString();
|
||||
Reference in New Issue
Block a user