X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc874fb4cebf75d39cc97210e0f4b6a35403e4a6..e6ba38871f6cc5c02391c04e37e481d0428cef3f:/src/msw/dlmsw.cpp diff --git a/src/msw/dlmsw.cpp b/src/msw/dlmsw.cpp index e517bcc365..ac4f88b1b9 100644 --- a/src/msw/dlmsw.cpp +++ b/src/msw/dlmsw.cpp @@ -205,7 +205,10 @@ wxString wxVersionDLL::GetFileVersion(const wxString& filename) const { void *pVer; UINT sizeInfo; - if ( m_pfnVerQueryValue(buf.data(), _T("\\"), &pVer, &sizeInfo) ) + if ( m_pfnVerQueryValue(buf.data(), + const_cast(_T("\\")), + &pVer, + &sizeInfo) ) { VS_FIXEDFILEINFO *info = (VS_FIXEDFILEINFO *)pVer; ver.Printf(_T("%d.%d.%d.%d"),