Skip to content

Commit

Permalink
Fix shorten-64-to-32 warning
Browse files Browse the repository at this point in the history
Change-Id: Ief3c1b7b40e4c2d9188c3d1993404f503eba232e
  • Loading branch information
jedelbo committed Oct 21, 2019
1 parent 6d7443b commit b181daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realm/query_expression.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ class SimpleQuerySupport : public Subexpr2<T> {

auto sz = result.size();
for (size_t i = 0; i < sz; i++) {
auto ndxs = m_link_map.get_origin_ndxs(result.get(i));
auto ndxs = m_link_map.get_origin_ndxs(size_t(result.get(i)));
ret.insert(ret.end(), ndxs.begin(), ndxs.end());
}
result.destroy();
Expand Down

0 comments on commit b181daa

Please sign in to comment.