mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* ramap.c (s_scm_array_fill_x): Cast `ve' properly in case
`scm_tc7_uvect'.
This commit is contained in:
parent
b038d983a1
commit
e1c7d601ad
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ scm_array_fill_int (SCM ra, SCM fill, SCM ignore)
|
|||
case scm_tc7_uvect:
|
||||
{ /* scope */
|
||||
unsigned long f = SCM_NUM2ULONG (2,fill);
|
||||
unsigned long *ve = (long *) SCM_VELTS (ra);
|
||||
unsigned long *ve = (unsigned long *) SCM_VELTS (ra);
|
||||
|
||||
for (i = base; n--; i += inc)
|
||||
ve[i] = f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue