Skip to content

Commit bd52e82

Browse files
committed
typo in reusablepointer
1 parent 0942d24 commit bd52e82

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ jdk:
44
- oraclejdk8
55
- openjdk6
66

7+
cache:
8+
directories:
9+
- $HOME/.m2
10+
711
env:
812
- MAVEN_OPTS=-Xmx512m CL_LOG_ERRORS=stdout
913

Core/src/main/velocity/com/nativelibs4java/opencl/ReusablePointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public ReusablePointer(long bytesCapacity) {
1515
this.pointer = allocateAlignedBytes(bytesCapacity).withoutValidityInformation();
1616
}
1717

18-
static Pointer<?> allocateAlignedBytes(int count) {
18+
static Pointer<?> allocateAlignedBytes(long count) {
1919
// Allocate memory aligned to 128 bytes to match alignment of cl_double16.
2020
return Pointer.allocateAlignedBytes(null /* io */, count, 128 /* alignment */, null /* beforeDeallocation */);
2121
}

0 commit comments

Comments
 (0)