Skip to content

Commit b9164fa

Browse files
committed
Wire in usage of (UNSIGNED-BYTE 8) types
1 parent 7bf4b40 commit b9164fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/org/armedbear/lisp/make_array.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,12 @@ public LispObject execute(LispObject[] args) {
182182
v = new BasicVector_ByteBuffer((java.nio.ByteBuffer)(((JavaObject)nioBuffer).getObject()),
183183
directAllocation);
184184
} else {
185-
v = new BasicVector_ByteBuffer(size, directAllocation);
185+
// v = new BasicVector_ByteBuffer(size, directAllocation);
186+
v = new BasicVectorBuffer(Byte.class, size);
186187
}
187188
} else { //if (Java.Buffers.active.equals(AllocationPolicy.PRIMITIVE_ARRAY)) {
188-
v = new BasicVector_UnsignedByte8(size);
189+
//v = new BasicVector_UnsignedByte8(size);
190+
v = new BasicVectorPrimitive(Byte.class, size);
189191
}
190192
}
191193
defaultInitialElement = Fixnum.ZERO;

0 commit comments

Comments
 (0)