Compile fix for MinGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e7b0dcd91e
commit
752f10a8a4
@ -197,8 +197,9 @@ private:
|
|||||||
|
|
||||||
static void ConvertFileTimeToWx(wxDateTime *dt, const FILETIME &ft)
|
static void ConvertFileTimeToWx(wxDateTime *dt, const FILETIME &ft)
|
||||||
{
|
{
|
||||||
|
FILETIME ftcopy = ft;
|
||||||
FILETIME ftLocal;
|
FILETIME ftLocal;
|
||||||
if ( !::FileTimeToLocalFileTime(&ft, &ftLocal) )
|
if ( !::FileTimeToLocalFileTime(&ftcopy, &ftLocal) )
|
||||||
{
|
{
|
||||||
wxLogLastError(_T("FileTimeToLocalFileTime"));
|
wxLogLastError(_T("FileTimeToLocalFileTime"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user