summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2018-10-10 19:45:30 +0200
committerDaniel Llorens <daniel.llorens@bluewin.ch>2018-10-10 19:51:58 +0200
commitb9cf3517efd4643670d970d2692bc7bede9a85e8 (patch)
tree51d16b4de2176a0640717218faf4e6f68714291c /libguile
parent2d09e0513fc11e2305077ba3653f6e4c2f266ddb (diff)
Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE
Diffstat (limited to 'libguile')
-rw-r--r--libguile/bytevectors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/bytevectors.c b/libguile/bytevectors.c
index 7cd753009..1d4129705 100644
--- a/libguile/bytevectors.c
+++ b/libguile/bytevectors.c
@@ -79,7 +79,7 @@
_sign char *c_bv; \
\
SCM_VALIDATE_##validate (1, bv); \
- c_index = scm_to_uint (index); \
+ c_index = scm_to_size_t (index); \
\
c_len = SCM_BYTEVECTOR_LENGTH (bv); \
c_bv = (_sign char *) SCM_BYTEVECTOR_CONTENTS (bv); \