X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..d069d02e1e27f6d924c3b28173ff81d87ec8b072:/include/wx/filefn.h?ds=inline diff --git a/include/wx/filefn.h b/include/wx/filefn.h index eb3eb478f6..c7c5b3ff7f 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -76,7 +76,7 @@ void WXDLLEXPORT wxStripExtension(char *buffer); void WXDLLEXPORT wxStripExtension(wxString& buffer); // Get a temporary filename, opening and closing the file. -char* WXDLLEXPORT wxGetTempFileName(const wxString& prefix, char *buf = NULL); +char* WXDLLEXPORT wxGetTempFileName(const wxString& prefix, char *buf = (char *) NULL); // Expand file name (~/ and ${OPENWINHOME}/ stuff) char* WXDLLEXPORT wxExpandPath(char *dest, const char *path); @@ -125,7 +125,7 @@ bool WXDLLEXPORT wxRenameFile(const wxString& file1, const wxString& file2); // copies into buf. // IMPORTANT NOTE getcwd is know not to work under some releases // of Win32s 1.3, according to MS release notes! -char* WXDLLEXPORT wxGetWorkingDirectory(char *buf = NULL, int sz = 1000); +char* WXDLLEXPORT wxGetWorkingDirectory(char *buf = (char *) NULL, int sz = 1000); // Set working directory bool WXDLLEXPORT wxSetWorkingDirectory(const wxString& d);