Skip to content

Commit

Permalink
fix clang build error
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed Jun 9, 2019
1 parent 03cdd2e commit 4efea36
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 @@ -27,7 +27,7 @@ void doit(const uint8_t* Data, std::size_t Size, const int scaling) {
//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));
const auto N = sizeof(Item);
constexpr auto N = sizeof(Item);
static_assert(N<=Nfixed, "fixed size is too small");
if (Size <= Nfixed + 1) {
return;
Expand Down

0 comments on commit 4efea36

Please sign in to comment.