Commit f87aa570 by Francois Gygi

fixed deprecated use of char*

git-svn-id: http://qboxcode.org/svn/qb/trunk@1513 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 4cb310a1
...@@ -148,7 +148,7 @@ void SampleWriter::writeSample(const Sample& s, const string filename, ...@@ -148,7 +148,7 @@ void SampleWriter::writeSample(const Sample& s, const string filename,
if ( ctxt_.onpe0() ) if ( ctxt_.onpe0() )
{ {
char *trailer = "</fpmd:sample>\n"; const char *trailer = "</fpmd:sample>\n";
int len = strlen(trailer); int len = strlen(trailer);
#if USE_MPI #if USE_MPI
err = MPI_File_write_at(sfp.file(),sfp.mpi_offset(),(void*)trailer, err = MPI_File_write_at(sfp.file(),sfp.mpi_offset(),(void*)trailer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment