From 588e79f7688c9b7f085cb8d46b9289e4769f4135 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 25 Jun 2007 11:20:45 +0000 Subject: [PATCH] * gc.c (RVALUE): in RVALUE and RBasic, flags must be the same type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ gc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 90f7c1f57e..b8130f5ea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 25 20:18:44 2007 NAKAMURA Usaku + + * gc.c (RVALUE): in RVALUE and RBasic, flags must be the same type. + Mon Jun 25 18:02:55 2007 NAKAMURA Usaku * ext/pty/extconf.rb: skip wince and win64. diff --git a/gc.c b/gc.c index 10cb5c6a3d..4360a535f2 100644 --- a/gc.c +++ b/gc.c @@ -95,7 +95,7 @@ int ruby_gc_debug_indent = 0; typedef struct RVALUE { union { struct { - unsigned long flags; /* always 0 for freed obj */ + VALUE flags; /* always 0 for freed obj */ struct RVALUE *next; } free; struct RBasic basic;