minor style fix in bytevectors.c
authorAndy Wingo <wingo@pobox.com>
Fri, 29 Jul 2011 07:11:24 +0000 (09:11 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 29 Jul 2011 07:11:24 +0000 (09:11 +0200)
* 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.

libguile/bytevectors.c

index 7ac1fa3..14159d2 100644 (file)
 /* 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))