Skip to content

Commit

Permalink
Fixing a failing unit test on old GCC versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticeRage committed Nov 24, 2018
1 parent cf483f2 commit d7aca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manape/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ bool is_actually_posix(boost::uint32_t dosdate, boost::uint32_t pe_timestamp, fl
variation = static_cast<float>(pe_timestamp - dosdate) / static_cast<float>(dosdate);
}

return abs(variation) <= threshold;
return fabs(variation) <= threshold;
}

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit d7aca8c

Please sign in to comment.