Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed Jun 9, 2019
1 parent e361bfc commit 60da706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fuzzing/chrono_duration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void invoke_outer(const uint8_t* Data, std::size_t Size, const int scaling) {
//always use a fixed location of the data, so different cases will
//cooperate better. the same bit pattern, interpreted as another type,
//is likely interesting.
const auto Nfixed=std::max(sizeof(long double),sizeof(std::intmax_t));
constexpr auto Nfixed=std::max(sizeof(long double),sizeof(std::intmax_t));
constexpr auto N = sizeof(Item);
static_assert(N<=Nfixed, "fixed size is too small");
if (Size <= Nfixed + 1) {
Expand Down

0 comments on commit 60da706

Please sign in to comment.