aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/ruby/ruby.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04cbc6eeb4..b7c8b98b75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Dec 1 02:58:51 2012 Eric Hodel <drbrain@segment7.net>
+
+ * 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@segment7.net>
* test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index d67ff6a8ea..56e78a18d4 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1584,7 +1584,7 @@ int ruby_native_thread_p(void);
#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