summaryrefslogtreecommitdiff
path: root/libguile/bytevectors.c
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2018-10-10 19:45:30 +0200
committerAndy Wingo <wingo@pobox.com>2019-05-23 15:53:28 +0200
commite4da1b456a71be2b344eb3fa3f3fdfe44c669bc0 (patch)
tree403265c134a6ba5cff5b1d6a1793c31d25f300e1 /libguile/bytevectors.c
parentf65ccc6afeda2d4e14878928123d8d3660712dca (diff)
downloadguile-e4da1b456a71be2b344eb3fa3f3fdfe44c669bc0.tar.gz
Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE
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 203bb835e..6e3c9503d 100644
--- a/libguile/bytevectors.c
+++ b/libguile/bytevectors.c
@@ -88,7 +88,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); \