1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* random.c (rb_f_rand): type fix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-01-31 03:22:42 +00:00
parent f758195486
commit e474ae6338
2 changed files with 4 additions and 4 deletions

View file

@ -230,7 +230,7 @@ rb_f_rand(argc, argv, obj)
break;
default:
vmax = rb_Integer(vmax);
if (TYPE(vmax) == T_BIGNUM) goto bignum:
if (TYPE(vmax) == T_BIGNUM) goto bignum;
case T_FIXNUM:
max = NUM2LONG(vmax);
break;

View file

@ -1,11 +1,11 @@
#define RUBY_VERSION "1.8.0"
#define RUBY_RELEASE_DATE "2003-01-30"
#define RUBY_RELEASE_DATE "2003-01-31"
#define RUBY_VERSION_CODE 180
#define RUBY_RELEASE_CODE 20030130
#define RUBY_RELEASE_CODE 20030131
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2003
#define RUBY_RELEASE_MONTH 01
#define RUBY_RELEASE_DAY 30
#define RUBY_RELEASE_DAY 31