Skip to content

Commit e08e573

Browse files
committed
[arcane,impl] Fix ptr casting asked by Codacy
1 parent 40c0d60 commit e08e573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcane/src/arcane/impl/internal/TimeHistoryMngInternal.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ _dumpSummaryOfCurves()
317317
String name = th.name() ;
318318
Integer length = arcaneCheckArraySize(name.length()+1);
319319
parallel_mng->send(ArrayView<Integer>(1,&length),master_io_rank) ;
320-
parallel_mng->send(ArrayView<char>(length,(char*)name.localstr()),master_io_rank) ;
320+
parallel_mng->send(ConstArrayView<char>(length, static_cast<const char*>(name.localstr())), master_io_rank);
321321
}
322322
}
323323
}

0 commit comments

Comments
 (0)