diff options
Diffstat (limited to 'libiberty/random.c')
-rw-r--r-- | libiberty/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/random.c b/libiberty/random.c index ef00da0a5ae..4e9b7ffafcc 100644 --- a/libiberty/random.c +++ b/libiberty/random.c @@ -198,7 +198,7 @@ static int rand_type = TYPE_3; static int rand_deg = DEG_3; static int rand_sep = SEP_3; -static long int *end_ptr = &randtbl[sizeof(randtbl) / sizeof(randtbl[0])]; +static long int *end_ptr = &randtbl[ARRAY_SIZE (randtbl)]; /* Initialize the random number generator based on the given seed. If the type is the trivial no-state-information type, just remember the seed. |