diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-25 11:22:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-25 11:22:55 +0000 |
commit | 00dcf07ebcb7af10753c1d6bbac3c6bb94740369 (patch) | |
tree | f9a94439cad97d1570b7608bdb09a4badd1e8c3a /random.c | |
parent | fd1022c065509846dd234914e3c9b725d20e928a (diff) |
* random.c (rb_random_int32): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -887,7 +887,7 @@ rb_random_int32(VALUE obj) { rb_random_t *rnd = try_get_rnd(obj); if (!rnd) { -#if SIZEOF_LONG > 32 +#if SIZEOF_LONG * CHAR_BIT > 32 VALUE lim = ULONG2NUM(0x100000000); #elif defined HAVE_LONG_LONG VALUE lim = ULL2NUM((LONG_LONG)0xffffffff+1); |