[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 06/55: Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE
From: |
Andy Wingo |
Subject: |
[Guile-commits] 06/55: Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE |
Date: |
Thu, 23 May 2019 11:52:37 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit e4da1b456a71be2b344eb3fa3f3fdfe44c669bc0
Author: Daniel Llorens <address@hidden>
Date: Wed Oct 10 19:45:30 2018 +0200
Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE
---
libguile/bytevectors.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/bytevectors.c b/libguile/bytevectors.c
index 203bb83..6e3c950 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); \
- [Guile-commits] branch master updated (63de189 -> b94c5f8), Andy Wingo, 2019/05/23
- [Guile-commits] 01/55: time: Use 'syntax-rules' instead of 'define-macro'., Andy Wingo, 2019/05/23
- [Guile-commits] 03/55: time: Use #: for 'define-module' clauses., Andy Wingo, 2019/05/23
- [Guile-commits] 02/55: time: Support expressions that return any number of values., Andy Wingo, 2019/05/23
- [Guile-commits] 06/55: Fix 32/64 bit bug in INTEGER_ACCESSOR_PROLOGUE,
Andy Wingo <=
- [Guile-commits] 10/55: Fix 'round-ash' of negative integers by huge right shift counts., Andy Wingo, 2019/05/23
- [Guile-commits] 12/55: Clarify the manual's "Processes" section., Andy Wingo, 2019/05/23
- [Guile-commits] 09/55: Gracefully handle huge shift counts in 'ash' and 'round-ash'., Andy Wingo, 2019/05/23
- [Guile-commits] 24/55: SRFI-19: time-utc->date: Support non-integer nanoseconds values., Andy Wingo, 2019/05/23
- [Guile-commits] 21/55: SRFI-19: Add a few more tests., Andy Wingo, 2019/05/23
- [Guile-commits] 11/55: In 'ash' and 'round-ash', handle right shift count of LONG_MIN., Andy Wingo, 2019/05/23
- [Guile-commits] 16/55: Add tests for type inferencing for 'nil?' and 'null?' predicates., Andy Wingo, 2019/05/23
- [Guile-commits] 22/55: SRFI-19: Fix normalization of seconds and nanoseconds in time records., Andy Wingo, 2019/05/23
- [Guile-commits] 20/55: SRFI-19: Fix handling of negative years and negative julian days., Andy Wingo, 2019/05/23
- [Guile-commits] 37/55: Avoid leaking a file descriptor in test-unwind, Andy Wingo, 2019/05/23