compilation fixes after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -337,7 +337,8 @@ void GetVolumeInfo(const wxString& path)
|
||||
}
|
||||
|
||||
// NULL means the current volume
|
||||
const wxChar *pVol = vol.empty() ? NULL : vol.c_str();
|
||||
const wxChar *pVol = vol.empty() ? (wxChar *)NULL
|
||||
: vol.c_str();
|
||||
|
||||
if (!::GetVolumeInformation(pVol, NULL, 0, NULL, NULL,
|
||||
&volumeFlags,
|
||||
|
Reference in New Issue
Block a user