From be496eb4e325339047986f771545e9b1a1eada86 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Mon, 14 Nov 2016 14:14:55 -0800 Subject: [PATCH] Return the type we claim it will return. --- include/storage/io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/storage/io.hpp b/include/storage/io.hpp index 0119023a9..4ce1043d9 100644 --- a/include/storage/io.hpp +++ b/include/storage/io.hpp @@ -148,7 +148,7 @@ inline std::uint64_t readElementCount64(boost::filesystem::ifstream &input_strea return number_of_elements; } -inline std::uint64_t readElementCount32(boost::filesystem::ifstream &input_stream) +inline std::uint32_t readElementCount32(boost::filesystem::ifstream &input_stream) { std::uint32_t number_of_elements = 0; input_stream.read(reinterpret_cast(&number_of_elements), sizeof(number_of_elements));