* stime.c (bdtime2c): Use SCM_LENGTH, not scm_vector_length; the
authorJim Blandy <jimb@red-bean.com>
Sun, 28 Sep 1997 04:07:04 +0000 (04:07 +0000)
committerJim Blandy <jimb@red-bean.com>
Sun, 28 Sep 1997 04:07:04 +0000 (04:07 +0000)
former returns a nice normal integer.  (Thanks to Daniel
Risacher.)

libguile/stime.c

index 65dbc7a..f668bf1 100644 (file)
@@ -391,7 +391,7 @@ static void
 bdtime2c (SCM sbd_time, struct tm *lt, int pos, char *subr)
 {
   SCM_ASSERT (SCM_NIMP (sbd_time) && SCM_VECTORP (sbd_time)
-             && scm_vector_length (sbd_time) == 11
+             && SCM_LENGTH (sbd_time) == 11
              && SCM_INUMP (SCM_VELTS (sbd_time)[0]) 
              && SCM_INUMP (SCM_VELTS (sbd_time)[1])
              && SCM_INUMP (SCM_VELTS (sbd_time)[2])