# | Line 102 | Line 102 | Globals* SimCreator::parseFile(const std::string mdFil | |
---|---|---|
102 | streamSize = ppStream.str().size() +1; | |
103 | commStatus = MPI_Bcast(&streamSize, 1, MPI_LONG, masterNode, MPI_COMM_WORLD); | |
104 | ||
105 | < | commStatus = MPI_Bcast(ppStream.str().c_str(), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); |
105 | > | commStatus = MPI_Bcast(static_cast<void*>(const_cast<char*>(ppStream.str().c_str())), streamSize, MPI_CHAR, masterNode, MPI_COMM_WORLD); |
106 | ||
107 | ||
108 | } else { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |