Skip to content

Commit

Permalink
Beg MSVC for forgiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed May 17, 2022
1 parent d4771ca commit bc4dac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_tls_rfc8448.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ using namespace Botan::TLS;

std::chrono::system_clock::time_point from_milliseconds_since_epoch(uint64_t msecs)
{
const uint64_t secs_since_epoch = msecs / 1000;
const int64_t secs_since_epoch = msecs / 1000;
const uint32_t additional_millis = msecs % 1000;

BOTAN_ASSERT_NOMSG(secs_since_epoch <= std::numeric_limits<time_t>::max());
Expand Down

0 comments on commit bc4dac3

Please sign in to comment.