From df76e35333bf1a730e069e03f66043c0d4d2b684 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 9 Jan 2018 13:30:27 +0000 Subject: [PATCH] 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 --- vm_core.h | 1 + 1 file changed, 1 insertion(+) 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,