LUCENE-5767: remove bogus cast (in this case can exceed Integer.MAX_VALUE, and the underlying delta reader takes long anyway)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-06-20 01:02:36 +00:00
parent 2867f2c593
commit 7ab10178c3
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ public class MultiDocValues {
segmentToGlobalOrds[i] = new LongValues() {
@Override
public long get(long ord) {
return ord + deltas.get((int) ord);
return ord + deltas.get(ord);
}
};
ramBytesUsed += deltas.ramBytesUsed();