diff options
author | vng <viktor.govako@gmail.com> | 2011-07-03 17:03:11 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:28 +0300 |
commit | 282a7a576a1c957fd55dfa1b6ec86b6ac809be0a (patch) | |
tree | 2e3ad329f6a8b74bdd48363f85701a861d58adf7 /words | |
parent | 6caa5f48074b79ae735144f05a11badd7fcc3c0b (diff) |
Fix uint64_t -> size-t warnings.
Diffstat (limited to 'words')
-rw-r--r-- | words/sloynik_index.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/words/sloynik_index.cpp b/words/sloynik_index.cpp index 41bbdb97f5..332b65ae76 100644 --- a/words/sloynik_index.cpp +++ b/words/sloynik_index.cpp @@ -17,7 +17,8 @@ sl::SortedIndex::SortedIndex(Dictionary const & dictionary, Reader const * pIndexReader, StrFn const & strFn) : m_Dictionary(dictionary), m_StrFn(strFn), - m_SortedVector(PolymorphReader(pIndexReader), pIndexReader->Size() / sizeof(DicId)) + m_SortedVector( PolymorphReader(pIndexReader), + static_cast<DDVectorType::size_type>(pIndexReader->Size() / sizeof(DicId))) { STATIC_ASSERT(sizeof(sl::SortedIndex::DicId) == 3); } |