summaryrefslogtreecommitdiff
path: root/libguile/bytevectors.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-01-22 13:04:34 +0100
committerAndy Wingo <wingo@pobox.com>2015-01-22 13:04:34 +0100
commit086bbcc874f230c709b7c0a46439c2fd3f7cd37c (patch)
tree9a7d42c5a3c7880c50ff4d679ae2e8cf91149dfc /libguile/bytevectors.c
parentd5dffec4ffcb93ab649acb2b6f7d8a013ba0e10e (diff)
parentfdd319e9bd4121d844662d3d8ccc69b462b60840 (diff)
downloadguile-086bbcc874f230c709b7c0a46439c2fd3f7cd37c.tar.gz
Merge commit 'fdd319e9bd4121d844662d3d8ccc69b462b60840'
Diffstat (limited to 'libguile/bytevectors.c')
-rw-r--r--libguile/bytevectors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/bytevectors.c b/libguile/bytevectors.c
index dda912ff0..b5e28e412 100644
--- a/libguile/bytevectors.c
+++ b/libguile/bytevectors.c
@@ -623,7 +623,7 @@ SCM_DEFINE (scm_bytevector_copy, "bytevector-copy", 1, 0, 0,
c_len = SCM_BYTEVECTOR_LENGTH (bv);
c_bv = SCM_BYTEVECTOR_CONTENTS (bv);
- copy = make_bytevector (c_len, SCM_BYTEVECTOR_ELEMENT_TYPE (bv));
+ copy = make_bytevector (c_len, SCM_ARRAY_ELEMENT_TYPE_VU8);
c_copy = SCM_BYTEVECTOR_CONTENTS (copy);
memcpy (c_copy, c_bv, c_len);