* random.c (DEFAULT_SEED_LEN): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ef7bb8c21
commit
79dfc605ff
2
random.c
2
random.c
@ -459,7 +459,7 @@ random_init(int argc, VALUE *argv, VALUE obj)
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEFAULT_SEED_LEN (DEFAULT_SEED_CNT * sizeof(int))
|
#define DEFAULT_SEED_LEN (DEFAULT_SEED_CNT * (int)sizeof(int))
|
||||||
|
|
||||||
#if defined(S_ISCHR) && !defined(DOSISH)
|
#if defined(S_ISCHR) && !defined(DOSISH)
|
||||||
# define USE_DEV_URANDOM 1
|
# define USE_DEV_URANDOM 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user