summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/random.c b/random.c
index 3fc9a00..d0a5756 100644
--- a/random.c
+++ b/random.c
@@ -21,7 +21,8 @@ f_srand(argc, argv, obj)
VALUE *argv;
VALUE obj;
{
- int seed, old;
+ VALUE seed;
+ int old;
static int saved_seed;
if (rb_scan_args(argc, argv, "01", &seed) == 0) {