ruby-changes:26027
From: drbrain <ko1@a...>
Date: Sat, 1 Dec 2012 02:59:59 +0900 (JST)
Subject: [ruby-changes:26027] drbrain:r38084 (trunk): * include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision
drbrain 2012-12-01 02:59:06 +0900 (Sat, 01 Dec 2012) New Revision: 38084 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38084 Log: * include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision for clang error (VALUE aka unsigned long vs unsigned int) Modified files: trunk/ChangeLog trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 38083) +++ include/ruby/ruby.h (revision 38084) @@ -1584,7 +1584,7 @@ #define RUBY_EVENT_SPECIFIED_LINE 0x8000 #define RUBY_EVENT_TRACEPOINT_ALL 0xFFFF -typedef unsigned int rb_event_flag_t; +typedef unsigned long rb_event_flag_t; typedef void (*rb_event_hook_func_t)(rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass); #define RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1 Index: ChangeLog =================================================================== --- ChangeLog (revision 38083) +++ ChangeLog (revision 38084) @@ -1,3 +1,8 @@ +Sat Dec 1 02:58:51 2012 Eric Hodel <drbrain@s...> + + * include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision + for clang error (VALUE aka unsigned long vs unsigned int) + Sat Dec 1 02:53:18 2012 Eric Hodel <drbrain@s...> * test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/