mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
minor style fix in bytevectors.c
* libguile/bytevectors.c (SCM_BYTEVECTOR_HEADER_BYTES): Use sizeof scm_t_bits, not sizeof SCM. It's the same, but it seems like the right thing.
This commit is contained in:
parent
2700aa43f2
commit
3b08b1c24d
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@
|
|||
/* Bytevector type. */
|
||||
|
||||
#define SCM_BYTEVECTOR_HEADER_BYTES \
|
||||
(SCM_BYTEVECTOR_HEADER_SIZE * sizeof (SCM))
|
||||
(SCM_BYTEVECTOR_HEADER_SIZE * sizeof (scm_t_bits))
|
||||
|
||||
#define SCM_BYTEVECTOR_SET_LENGTH(_bv, _len) \
|
||||
SCM_SET_CELL_WORD_1 ((_bv), (scm_t_bits) (_len))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue