---
src/doc/PdfMemDocument.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/doc/PdfMemDocument.cpp b/src/doc/PdfMemDocument.cpp
index 04e5034..a7255ee 100644
--- a/src/doc/PdfMemDocument.cpp
+++ b/src/doc/PdfMemDocument.cpp
@@ -271,7 +271,7 @@ void PdfMemDocument::Load( const wchar_t* pszFilename, bool
bForUpdate )
{
int lLen = wcslen( pszFilename );
m_wchar_pszUpdatingFilename = static_cast<wchar_t *>( podofo_malloc(
sizeof( wchar_t ) * ( lLen + 1 ) ) );
- memcpy( m_wchar_pszUpdatingFilename, pszFilename, lLen );
+ wmemcpy( m_wchar_pszUpdatingFilename, pszFilename, lLen );
m_wchar_pszUpdatingFilename[lLen] = L'\0';
}
--
2.16.1.windows.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users