Skip to content

Commit

Permalink
Fixed a small bug in 'BigShortArray'
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Gupta committed Oct 21, 2010
1 parent c81646a commit 38564a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public BigShortArray(int size)
@Override
public final void add(int docId, int val)
{
_array[docId >> SHIFT_SIZE][docId & MASK] = (byte)val;
_array[docId >> SHIFT_SIZE][docId & MASK] = (short)val;
}

@Override
Expand Down

0 comments on commit 38564a3

Please sign in to comment.