summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-31 03:22:42 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-31 03:22:42 +0000
commite474ae633851e9956a94bd96fc40540740a367c0 (patch)
tree7afeff5859aaf58f8861aaf1b115dd27d97c7439 /random.c
parentf758195486cbe49c647140a9e1c5623eeebbeaac (diff)
* random.c (rb_f_rand): type fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 72fb454..86c8198 100644
--- a/random.c
+++ b/random.c
@@ -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;