]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/largefile.cpp
compilation fix for PCH-less compilation (thanks buildbot)
[wxWidgets.git] / 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,