better support for file sizes in 32/64 bits

This commit is contained in:
gabime
2016-07-30 19:32:51 +03:00
parent b2c40fcedf
commit 730f0e02a6
3 changed files with 51 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ TEST_CASE("file_helper_reopen", "[file_helper::reopen()]]")
TEST_CASE("file_helper_reopen2", "[file_helper::reopen(false)]]")
{
prepare_logdir();
auto expected_size = 14;
size_t expected_size = 14;
file_helper helper(true);
helper.open(target_filename);
write_with_helper(helper, expected_size);