[前][次][番号順一覧][スレッド一覧]

ruby-changes:36335

From: hsbt <ko1@a...>
Date: Fri, 14 Nov 2014 08:13:02 +0900 (JST)
Subject: [ruby-changes:36335] hsbt:r48416 (trunk): * gc.c: fix build error caused by implicit conversion with clang.

hsbt	2014-11-14 08:12:45 +0900 (Fri, 14 Nov 2014)

  New Revision: 48416

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48416

  Log:
    * gc.c: fix build error caused by implicit conversion with clang.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48415)
+++ ChangeLog	(revision 48416)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Nov 14 08:12:40 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* gc.c: fix build error caused by implicit conversion with clang.
+
 Fri Nov 14 06:54:06 2014  Eric Wong  <e@8...>
 
 	* insns.def (opt_succ): remove Time#succ optimization
Index: gc.c
===================================================================
--- gc.c	(revision 48415)
+++ gc.c	(revision 48416)
@@ -5124,7 +5124,7 @@ gc_marks_continue(rb_objspace_t *objspac https://github.com/ruby/ruby/blob/trunk/gc.c#L5124
 
 	if (slots > 0) {
 	    gc_report(2, objspace, "gc_marks_continue: provide %d slots from %s.\n", slots, from);
-	    gc_marks_step(objspace, objspace->rincgc.step_slots);
+	    gc_marks_step(objspace, (int)objspace->rincgc.step_slots);
 	}
 	else {
 	    gc_report(2, objspace, "gc_marks_continue: no more pooled pages (stack depth: %d).\n", (int)mark_stack_size(&objspace->mark_stack));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]