[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-131-g67543
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-131-g67543d0 |
Date: |
Mon, 09 Jan 2012 21:16:57 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=67543d076175d000bc95b902be8ea71cd9b75e26
The branch, stable-2.0 has been updated
via 67543d076175d000bc95b902be8ea71cd9b75e26 (commit)
from 94a751bdccbeaeba9f871d36c085f21b90ac3a84 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 67543d076175d000bc95b902be8ea71cd9b75e26
Author: Ludovic Courtès <address@hidden>
Date: Mon Jan 9 22:16:49 2012 +0100
Fix incorrect use of `SCM_UNPACK'.
* libguile/arrays.c (scm_i_make_array): Cast the result of
`scm_gc_malloc' directly to `scm_t_bits'.
-----------------------------------------------------------------------
Summary of changes:
libguile/arrays.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libguile/arrays.c b/libguile/arrays.c
index c17f125..97b5aad 100644
--- a/libguile/arrays.c
+++ b/libguile/arrays.c
@@ -109,14 +109,14 @@ SCM_DEFINE (scm_shared_array_increments,
"shared-array-increments", 1, 0, 0,
}
#undef FUNC_NAME
-SCM
+SCM
scm_i_make_array (int ndim)
{
SCM ra;
ra = scm_cell (((scm_t_bits) ndim << 17) + scm_tc7_array,
- SCM_UNPACK (scm_gc_malloc ((sizeof (scm_i_t_array) +
- ndim * sizeof (scm_t_array_dim)),
- "array")));
+ (scm_t_bits) scm_gc_malloc (sizeof (scm_i_t_array) +
+ ndim * sizeof (scm_t_array_dim),
+ "array"));
SCM_I_ARRAY_V (ra) = SCM_BOOL_F;
return ra;
}
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.3-131-g67543d0,
Ludovic Courtès <=