]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 22 Aug 2007 15:19:06 +0000 (15:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 22 Aug 2007 15:19:06 +0000 (15:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/streams/largefile.cpp

index a47aef895925fdb13114612ddeaae8bb275ec26e..af65d4e17e3e90ea06ff9a143cbf7afaf60a88e1 100644 (file)
@@ -337,7 +337,7 @@ void GetVolumeInfo(const wxString& path)
     }
 
     // NULL means the current volume
-    const wxChar *pVol = vol.empty() ? (wxChar *)NULL
+    const wxChar *pVol = vol.empty() ? (const wxChar *)NULL
                                      : vol.c_str();
 
     if (!::GetVolumeInformation(pVol, NULL, 0, NULL, NULL,