Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Nov 29, 2019
1 parent 23b38fa commit 7a8ec40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private[izumi] class HeapByteBufferProvider extends ByteBufferProvider {
bufList.foreach { buf =>
// use fast array copy
java.lang.System.arraycopy(buf.array, buf.arrayOffset, comb.array, comb.position(), buf.limit())
(buf: java.nio.Buffer).position(comb.position() + buf.limit())
(comb: java.nio.Buffer).position(comb.position() + buf.limit())
// release to the pool
pool.release(buf)
}
Expand Down

0 comments on commit 7a8ec40

Please sign in to comment.