diff --git a/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java b/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java index 75f2bbe3f47..5e6997971cb 100644 --- a/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java +++ b/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java @@ -117,7 +117,7 @@ public class Test2BPoints extends LuceneTestCase { } final int numDocs = (Integer.MAX_VALUE / 26) + 1; - long counter = 0; + int counter = 0; for (int i = 0; i < numDocs; i++) { Document doc = new Document(); for (int j=0;j<26;j++) {