diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
commit | d4af25c52a28b93484ffb55e0a8027bc4ce7856f (patch) | |
tree | 853d57468d6b370711e7a5dd2c3dc7d5bac81b10 /lib/db_file.cpp | |
parent | 5.8 (diff) | |
download | FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.gz FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.bz2 FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.zip |
5.9
Diffstat (limited to 'lib/db_file.cpp')
-rw-r--r-- | lib/db_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db_file.cpp b/lib/db_file.cpp index 8821fc66..53830afe 100644 --- a/lib/db_file.cpp +++ b/lib/db_file.cpp @@ -299,8 +299,8 @@ public: BinStreamIn& in1stPart = has1stPartL ? inL : inR; BinStreamIn& in2ndPart = has1stPartL ? inR : inL; - const size_t size1stPart = readNumber<std::uint64_t>(in1stPart); - const size_t size2ndPart = readNumber<std::uint64_t>(in2ndPart); + const size_t size1stPart = static_cast<size_t>(readNumber<std::uint64_t>(in1stPart)); + const size_t size2ndPart = static_cast<size_t>(readNumber<std::uint64_t>(in2ndPart)); BinaryStream tmpB; tmpB.resize(size1stPart + size2ndPart); |