View | Details | Raw Unified
Collapse All | Expand All

(-) aMule-2.0.0rc7/src/utils/aLinkCreator/src/ed2khash.cpp (-1 / +1 lines)
 Lines 83-89    Link Here 
{
{
  // Open file and let wxFFile destructor close the file
  // Open file and let wxFFile destructor close the file
  // Closing it explicitly may crash on Win32 ...
  // Closing it explicitly may crash on Win32 ...
  wxFFile file(filename.GetFullPath(), wxT("rbS"));
  wxFFile file( (const wxChar*) filename.GetFullPath(),  (const char*) wxT("rbS"));
  if (! file.IsOpened())
  if (! file.IsOpened())
    {
    {
      wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath()));
      wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath()));
(-) aMule-2.0.0rc7/src/utils/aLinkCreator/src/md4.cpp (-1 / +1 lines)
 Lines 336-342    Link Here 
  // Open file and let wxFFile destructor close the file
  // Open file and let wxFFile destructor close the file
  // Closing it explicitly may crash on Win32 ...
  // Closing it explicitly may crash on Win32 ...
  wxFFile file(filename, wxT("rbS"));
  wxFFile file((const wxChar*) filename, (const char*) wxT("rbS"));
  if (! file.IsOpened())
  if (! file.IsOpened())
    {
    {
      return wxEmptyString;
      return wxEmptyString;