(scm_dbg_gc_get_bvec): Change return from long* to
authorKevin Ryde <user42@zip.com.au>
Mon, 11 Jul 2005 23:57:50 +0000 (23:57 +0000)
committerKevin Ryde <user42@zip.com.au>
Mon, 11 Jul 2005 23:57:50 +0000 (23:57 +0000)
scm_t_c_bvec_long*, gcc 4 doesn't like different pointer targets when
returning SCM_GC_CARD_BVEC.

libguile/gc-card.c

index 3fd8a30..02b3a13 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2004, 2005 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -447,7 +447,7 @@ typedef struct scm_dbg_t_double_cell {
 
 int scm_dbg_gc_marked_p (SCM obj);
 scm_t_cell * scm_dbg_gc_get_card (SCM obj);
-long * scm_dbg_gc_get_bvec (SCM obj);
+scm_t_c_bvec_long * scm_dbg_gc_get_bvec (SCM obj);
 
 
 int
@@ -468,7 +468,7 @@ scm_dbg_gc_get_card (SCM obj)
     return NULL;
 }
 
-long *
+scm_t_c_bvec_long *
 scm_dbg_gc_get_bvec (SCM obj)
 {
   if (!SCM_IMP (obj))