We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d133dd8 commit bd9b5ecCopy full SHA for bd9b5ec
1 file changed
Core/src/main/java/com/nativelibs4java/opencl/ReusablePointer.java
@@ -15,7 +15,7 @@ final class ReusablePointer {
15
16
public ReusablePointer(long bytesCapacity) {
17
this.bytesCapacity = bytesCapacity;
18
- this.pointer = Pointer.allocateBytes(bytesCapacity);
+ this.pointer = Pointer.allocateBytes(bytesCapacity).withoutValidityInformation();
19
}
20
public Pointer<Integer> pointerToInts(int[] values) {
21
if (values == null)
0 commit comments