diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 17:59:06 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 17:59:06 +0000 |
commit | 57a83c4c9ac1de6da5184972cc10e33f44f6f747 (patch) | |
tree | 08972588352809082a085beb758b9cb57a1ba293 /include/ruby/ruby.h | |
parent | 646eeab1130f4b78b6673452e87b824b9bf5a5e2 (diff) | |
download | ruby-57a83c4c9ac1de6da5184972cc10e33f44f6f747.tar.gz |
* include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision
for clang error (VALUE aka unsigned long vs unsigned int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |