From b2033b8b8418b0c1ceed54bdc170c03dd45d1cf8 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Feb 2018 09:38:55 +0000 Subject: [PATCH] Signature of rb_uint2inum and rb_int2inum * include/ruby/ruby.h (rb_int2inum, rb_uint2inum): adjust declarations. [ruby-core:83424] [Bug #14036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 74c87e9709..e225606c2f 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -238,10 +238,10 @@ typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP == sizeof(void*) ? 1 : -1]; #define RB_LONG2FIX(i) RB_INT2FIX(i) #define LONG2FIX(i) RB_INT2FIX(i) #define rb_fix_new(v) RB_INT2FIX(v) -VALUE rb_int2inum(SIGNED_VALUE); +VALUE rb_int2inum(intptr_t); #define rb_int_new(v) rb_int2inum(v) -VALUE rb_uint2inum(VALUE); +VALUE rb_uint2inum(uintptr_t); #define rb_uint_new(v) rb_uint2inum(v)