X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b68671575b443f109af6e930ad72a063205a5c2..e48df5d353610b4b2d91c5dbb4ffdf97f1aa4253:/tests/streams/largefile.cpp diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp index 1366ae6091..af65d4e17e 100644 --- a/tests/streams/largefile.cpp +++ b/tests/streams/largefile.cpp @@ -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() ? (const wxChar *)NULL + : vol.c_str(); if (!::GetVolumeInformation(pVol, NULL, 0, NULL, NULL, &volumeFlags,