From 8631cddce91d17ac96c140a88e511511c5c088e1 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 4 May 2008 15:43:03 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GModelIO_Geo.cpp | 4 ++-- Post/PViewIO.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Geo/GModelIO_Geo.cpp b/Geo/GModelIO_Geo.cpp index d3e1cb5c9b..4253f190a6 100644 --- a/Geo/GModelIO_Geo.cpp +++ b/Geo/GModelIO_Geo.cpp @@ -1,4 +1,4 @@ -// $Id: GModelIO_Geo.cpp,v 1.21 2008-05-04 08:31:13 geuzaine Exp $ +// $Id: GModelIO_Geo.cpp,v 1.22 2008-05-04 15:43:03 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -45,7 +45,7 @@ void GModel::_deleteGEOInternals() int GModel::readGEO(const std::string &name) { - ParseFile((char*)name.c_str(), 1); + ParseFile(name.c_str(), 1); return importGEOInternals(); } diff --git a/Post/PViewIO.cpp b/Post/PViewIO.cpp index 00b8ae99d6..db9c998469 100644 --- a/Post/PViewIO.cpp +++ b/Post/PViewIO.cpp @@ -1,4 +1,4 @@ -// $Id: PViewIO.cpp,v 1.6 2008-05-04 08:31:24 geuzaine Exp $ +// $Id: PViewIO.cpp,v 1.7 2008-05-04 15:43:03 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -246,7 +246,7 @@ bool PView::readMED(std::string fileName, int fileIndex) med_int numFields = MEDnChamp(fid, 0); if(MEDfermer(fid) < 0){ - Msg::Error("Unable to close file '%s'", (char*)fileName.c_str()); + Msg::Error("Unable to close file '%s'", fileName.c_str()); return false; } -- GitLab