diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-10-16 09:13:20 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-10-16 09:13:20 +0000 |
commit | 8353f303e3c1109e04ef47707df3b7d84b12c5fe (patch) | |
tree | 33bc2638db8c9dac5e94b0d6fa9af090c45774b8 /ruby.h | |
parent | 525836d683d8c0cc2ff2479875eb9e71bd63d151 (diff) | |
download | ruby-8353f303e3c1109e04ef47707df3b7d84b12c5fe.tar.gz |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -194,8 +194,8 @@ int rb_num2int _((VALUE)); #define NUM2INT(x) (FIXNUM_P(x)?FIX2INT(x):rb_num2int((VALUE)x)) int rb_fix2int _((VALUE)); #define FIX2INT(x) rb_fix2int((VALUE)x) -#define NUM2UINT(x) ((unsigned int)NUM2ULONG(x)) -#define FIX2UINT(x) ((unsigned int)FIX2ULONG(x)) +#define NUM2UINT(x) ((unsigned int)NUM2INT(x)) +#define FIX2UINT(x) ((unsigned int)FIX2INT(x)) #else #define NUM2INT(x) NUM2LONG(x) #define NUM2UINT(x) NUM2ULONG(x) |