mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 09:17:53 +08:00
5d1b3e8081
* [podofo] update to 0.9.7 * update version * [podofo] update to 0.9.7 * update version * fix-osx-error * Modify patch format * update version * Restore patch endline format * update version * update patch file * update version * update patch file * update version * revert the changes to this file * update version * revert the changes to this file * update version
14 lines
463 B
Diff
14 lines
463 B
Diff
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();
|