mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +02:00
(take_uvec): Make BASE pointer non-const.
(scm_take_u8vector, etc): Likewise. Thanks to Ludovic Courtès!
This commit is contained in:
parent
9d9ce2b576
commit
ab7acbb74e
3 changed files with 14 additions and 14 deletions
|
@ -304,7 +304,7 @@ uvec_assert (int type, SCM obj)
|
|||
}
|
||||
|
||||
static SCM
|
||||
take_uvec (int type, const void *base, size_t len)
|
||||
take_uvec (int type, void *base, size_t len)
|
||||
{
|
||||
SCM_RETURN_NEWSMOB3 (scm_tc16_uvec, type, len, (scm_t_bits) base);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue