diff options
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); |