Changeset 2449 in project


Ignore:
Timestamp:
11/16/06 16:36:02 (15 years ago)
Author:
Ivan Raikov
Message:

Fixed a bug in read-byte-vector where the endianness was inverted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • endian-port/trunk/endian-port.scm

    r2208 r2449  
    334334                           (loop (- size 1) (cons b data)))
    335335                         (if (eq? byte-order (MSB))
    336                              (u8vector->byte-vector (list->u8vector (reverse data)))
    337                              (u8vector->byte-vector (list->u8vector data))))))))
     336                             (u8vector->byte-vector (list->u8vector data))
     337                             (u8vector->byte-vector (list->u8vector (reverse data)))))))))
    338338
    339339
Note: See TracChangeset for help on using the changeset viewer.