aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 13:30:27 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 13:30:27 +0000
commite786352a505403e2d8a29e9e53acc4e2e9294633 (patch)
treeb76513e52526fc087352fb6d784bc4cc1d989833 /vm_core.h
parentc9d349dafc4584974c72109037d9a1e7e88569f0 (diff)
downloadruby-e786352a505403e2d8a29e9e53acc4e2e9294633.tar.gz
rb_num_t happen to be unsigned; introduce signed variant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 1be20c1356..7801ce1706 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -136,6 +136,7 @@
#endif /* OPT_CALL_THREADED_CODE */
typedef unsigned long rb_num_t;
+typedef signed long rb_snum_t;
enum ruby_tag_type {
RUBY_TAG_NONE = 0x0,