Last parameter of GetVolumeInformation() is not pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -119,7 +119,7 @@ size_t wxGetAvailableDrives(wxArrayString &paths, wxArrayString &names, wxArrayI
|
||||
|
||||
#if !defined(__WXWINCE__)
|
||||
wxChar pname[52];
|
||||
if (GetVolumeInformation( path.c_str(), pname, 52, NULL, NULL, NULL, NULL, NULL ))
|
||||
if (GetVolumeInformation( path.c_str(), pname, 52, NULL, NULL, NULL, NULL, 0 ))
|
||||
{
|
||||
name.Printf(wxT("%s %s"), (const wxChar*) name, pname );
|
||||
}
|
||||
|
Reference in New Issue
Block a user