X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5abe9111b4f425bc2430111b2b77844e87b2f29..3c67202dee33f95fa48b176dec8994340c70eaa2:/src/gtk1/textctrl.cpp diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 401fd4d460..61c406c6fb 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -303,7 +303,7 @@ bool wxTextCtrl::LoadFile( const wxString &file ) Clear(); - FILE *fp = NULL; + FILE *fp = (FILE*) NULL; struct stat statb; if ((stat ((char*) (const char*) file, &statb) == -1) || (statb.st_mode & S_IFMT) != S_IFREG || @@ -358,7 +358,7 @@ bool wxTextCtrl::SaveFile( const wxString &file ) } else { - char *text = NULL; + char *text = (char*) NULL; gint len = 0; if (m_windowStyle & wxTE_MULTILINE)