diff -r 301c3edbdaa1 -r 787612182dd0 imgtools/imglib/filesystem/source/longname.cpp --- a/imgtools/imglib/filesystem/source/longname.cpp Wed May 12 09:52:26 2010 +0100 +++ b/imgtools/imglib/filesystem/source/longname.cpp Thu May 13 08:38:18 2010 +0100 @@ -49,7 +49,7 @@ iLongNameLength = iLongName.length(); if(iLongNameLength == 0) { - throw ErrorHandler(EMPTYFILENAME, const_cast(__FILE__), __LINE__); + throw ErrorHandler(EMPTYFILENAME,__FILE__,__LINE__); } FormatLongFileName(iLongName); iShortName = GetShortEntryName();