mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
(string_set): Don't return in a void function. (Reported
by Mike Gran.)
This commit is contained in:
parent
05b454920e
commit
a9bcaa37b3
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2006-03-11 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* unif.c (string_set): Don't return in a void function. (Reported
|
||||
by Mike Gran.)
|
||||
|
||||
* srfi-4.c (scm_uniform_vector_read_x): Declare base as char*
|
||||
rather than void*, so we can do pointer arithmetic on it.
|
||||
(Reported by Mike Gran.)
|
||||
|
|
|
@ -368,9 +368,9 @@ string_set (scm_t_array_handle *h, ssize_t pos, SCM val)
|
|||
{
|
||||
pos += h->base;
|
||||
if (SCM_I_ARRAYP (h->array))
|
||||
return scm_c_string_set_x (SCM_I_ARRAY_V (h->array), pos, val);
|
||||
scm_c_string_set_x (SCM_I_ARRAY_V (h->array), pos, val);
|
||||
else
|
||||
return scm_c_string_set_x (h->array, pos, val);
|
||||
scm_c_string_set_x (h->array, pos, val);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue