Skip to content

Commit

Permalink
fix: minor changes to NettyArrowBuf
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Sep 2, 2024
1 parent d434884 commit 3d050d6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class NettyArrowBuf extends AbstractByteBuf implements AutoCloseable {

private final ArrowBuf arrowBuf;
private final ArrowByteBufAllocator arrowByteBufAllocator;
private int length;
private long length;
private final long address;

/**
Expand All @@ -49,8 +49,8 @@ public class NettyArrowBuf extends AbstractByteBuf implements AutoCloseable {
* @param length The length of this buffer.
*/
public NettyArrowBuf(
final ArrowBuf arrowBuf, final BufferAllocator bufferAllocator, final int length) {
super(length);
final ArrowBuf arrowBuf, final BufferAllocator bufferAllocator, final long length) {
super((int) length);
this.arrowBuf = arrowBuf;
this.arrowByteBufAllocator = new ArrowByteBufAllocator(bufferAllocator);
this.length = length;
Expand Down

0 comments on commit 3d050d6

Please sign in to comment.