aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59c8b54e23..c6d531821e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 4 09:37:15 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * gc.c (gc_sweep): suppress a warning on VC, again.
+
Thu Jun 3 23:34:55 2010 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
diff --git a/gc.c b/gc.c
index 4fdc86f0a8..ad13e683b2 100644
--- a/gc.c
+++ b/gc.c
@@ -1939,7 +1939,7 @@ slot_sweep(rb_objspace_t *objspace, struct heaps_slot *sweep_slot)
RVALUE *pp;
for (pp = deferred_final_list; pp != final; pp = pp->as.free.next) {
- RDATA(pp)->dmark = (void (*)())(VALUE)sweep_slot;
+ RDATA(pp)->dmark = (void (*)(void *))(VALUE)sweep_slot;
pp->as.free.flags |= FL_SINGLETON; /* freeing page mark */
}
sweep_slot->limit = final_num;