Skip to content

Commit

Permalink
Merge pull request ornladios#3390 from eisenhauer/PNGCast
Browse files Browse the repository at this point in the history
WIP:  Fix untyped conversion in PNG operator test
  • Loading branch information
eisenhauer authored Nov 24, 2022
2 parents 1cb9723 + 09ce157 commit f695e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/adios2/engine/bp/operations/TestBPWriteReadPNG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ std::string engineName; // comes from command line
template <class T>
static T Random100()
{
return std::rand() % 100;
return static_cast<T>(std::rand() % 100);
}

void PNGAccuracy2D(const std::string compressionLevel)
Expand Down

0 comments on commit f695e14

Please sign in to comment.