summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
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 72fb4545ba..86c8198d41 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;