Changeset 15478


Ignore:
Timestamp:
11/01/20 08:14:58 (2 years ago)
Author:
Mark Evenson
Message:

Fix adjusting non-simple (unsigned-byte 8) vectors

This bug was preventing zs3 from being loading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/ComplexVector_ByteBuffer.java

    r15379 r15478  
    448448        ByteBuffer newElements = null;
    449449        if (directAllocation) {
    450           ByteBuffer.allocateDirect(newCapacity);
     450          newElements = ByteBuffer.allocateDirect(newCapacity);
    451451        } else {
    452           ByteBuffer.allocate(newCapacity);
     452          newElements = ByteBuffer.allocate(newCapacity);
    453453        }
    454454        newElements.put(elements.array(), 0,
Note: See TracChangeset for help on using the changeset viewer.