From 31a54bcf1bf073e35d192f49320774ac485d843c Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 21 Mar 2010 22:55:18 +0000 Subject: Fixed msvc6 compilation was broken. What is the use of visualc now? seems we should remove that one ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser_WIN32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Native_File_Chooser_WIN32.cxx') diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index 2cebb62ff..063c1e532 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -243,7 +243,7 @@ void Fl_Native_File_Chooser::ClearOFN() { _ofn.lpstrFile = NULL; } if ( _ofn.lpstrInitialDir ) { - delete [] _ofn.lpstrInitialDir; + delete [] (TCHAR*) _ofn.lpstrInitialDir; //msvc6 compilation fix _ofn.lpstrInitialDir = NULL; } _ofn.lpstrFilter = NULL; // (deleted elsewhere) -- cgit v1.2.3