Skip to content

Commit

Permalink
fix data type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
MFraters committed Jun 6, 2024
1 parent 5d091dd commit b665c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/world_builder/utilities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ namespace WorldBuilder

data_string = datastream.str();
filesize = data_string.size();
WBAssertThrow(filesize < std::numeric_limits<int>::max(),
WBAssertThrow(filesize < std::numeric_limits<uint64_t>::max(),
"File to large to be send with MPI.");

// Distribute data_size and data across processes
Expand Down

0 comments on commit b665c39

Please sign in to comment.