bytevector: Fixed "bus error" on SPARC.
commit3049c1b00ffaee37e65da5ac16a9f3dd57e647c9
authorLudovic Court`es <ludovic.courtes@laas.fr>
Thu, 2 Aug 2007 16:51:52 +0000 (2 16:51 +0000)
committerLudovic Court`es <ludovic.courtes@laas.fr>
Thu, 2 Aug 2007 16:51:52 +0000 (2 16:51 +0000)
treebd8bd6073f739a94c1b337d030b558b570d25354
parent72548b145bfcc655e0cdac4e941c25d35d9c5e71
bytevector: Fixed "bus error" on SPARC.

* src/bytevector.c (GENERIC_INTEGER_REF): Use `memcpy ()' rather than
  dereferences of casts to avoid "bus error" due to unaligned memory
  accesses on architectures such as SPARC.

git-archimport-id: lcourtes@laas.fr--2006-libre/guile-r6rs-libs--devo--0--patch-35
ChangeLog
src/bytevector.c